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

EKF2-yaw estimator: force set gyro bias when at rest #22840

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

bresch
Copy link
Member

@bresch bresch commented Mar 5, 2024

Solved Problem

The yaw estimate from the yaw emergency estimator can drift on ground due to incorrect gyro bias calibration.

Example log where the yaw composite drifts after every landing:
Screenshot from 2024-03-05 17-16-40

Solution

The gyro bias estimate from EFK2 is really good when at rest and should be used by the yaw estimator to prevent heading drifts due to poor heading observability.

Same log replayed with the fix:
Screenshot from 2024-03-05 17-16-22

Changelog Entry

For release notes:

Fix yaw emergency estimate drift on ground
New parameter: -
Documentation: No

Test coverage

  • EKF2 replay

The gyro bias estimate from EFK2 is really good when at rest and should
be used by the yaw estimator to prevent heading drifts due to poor
heading observability.
@bresch bresch added the EKF2 label Mar 5, 2024
@bresch bresch requested a review from dagar March 5, 2024 16:26
@bresch bresch self-assigned this Mar 5, 2024
@dagar dagar merged commit 6f9a378 into main Mar 5, 2024
91 of 92 checks passed
@bresch bresch deleted the pr-ekf2-yaw-est-gyro-bias branch March 5, 2024 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants