Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.4.2] GPS Rescue IMU adaptation 0.2 #12845

Merged

Conversation

haslinghuis
Copy link
Member

Backport of #12841

@ctzsnooze
Copy link
Member

ctzsnooze commented May 30, 2023

This PR definitely does improve behaviour when a rescue is initiated with a high-grade IMU disorientation problem.

However, in winds above about 30-40kph rescues may fail when the IMU is disoriented from extended prior drift at angles opposite to the direction of the nose of the quad.

Higher gps rescue max angle values will typically work better in higher wind in these settings.

More work on handling IMU disorientation is needed, and this is a heuristic fix. Even so, this PR is OK to merge. It has been tested and is the most reliable code we have at present when faced with this particular problem.

@haslinghuis haslinghuis requested a review from blckmn May 30, 2023 23:26
src/main/cli/settings.c Show resolved Hide resolved
@blckmn blckmn merged commit 56b4415 into betaflight:4.4-maintenance May 31, 2023
13 checks passed
@haslinghuis haslinghuis deleted the maint-gps-rescue-imu-changes branch May 31, 2023 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants