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

Allow airspeed fusion when airspeed is above defined threshold #24177

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

RomanBapst
Copy link
Contributor

@RomanBapst RomanBapst commented Jan 7, 2025

Solved Problem

When transitioning a VTOL which relies only on optical flow, airspeed fusion only starts after the transition.
In cases where we rely on wind dead-reckoning for navigation, airspeed fusion is not starting quickly enough in order to avoid triggering a failsafe due to exceeding the maximum height above ground constraint.
It's essentially a race condition and does not always happen.

Fixes #{Github issue ID

Solution

Allow airspeed fusion to start based on threshold defined via parameter.
EKF2_ARSP_THR

Changelog Entry

For release notes:

Allow airspeed fusion to commence based on airspeed threshold, don't require aero mode. Enables airspeed fusion to start during transition.

Alternatives

We could also ...

Test coverage

Context

image

- enables airspeed fusion to begin during transition already
- airspeed fusion is started based on airspeed being above defined threshold

Signed-off-by: RomanBapst <[email protected]>
@RomanBapst RomanBapst requested a review from bresch January 7, 2025 14:21
Copy link
Member

@bresch bresch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. We should also try to fly multirotors with airspeed sensors now!

@bresch bresch merged commit 1abc27d into main Jan 7, 2025
58 of 59 checks passed
@bresch bresch deleted the pr-airspeed_fusion branch January 7, 2025 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants