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

[WIP] ekf2: setEkfGlobalOrigin respect current height reference and vertical position aiding #22766

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dagar
Copy link
Member

@dagar dagar commented Feb 15, 2024

No description provided.

@dagar dagar force-pushed the pr-ekf2_setEkfGlobalOrigin_fix branch from 1b64581 to e678ad7 Compare February 15, 2024 18:11
#if defined(CONFIG_EKF2_GNSS)
// preserve GPS height bias
_gps_hgt_b_est.setBias(gps_hgt_bias);
// adjust existing GPS height bias
Copy link
Contributor

Choose a reason for hiding this comment

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

@dagar I don't quite follow the logic. How come you don't reset the vertical position if the height reference is not GNSS? Since we change the origin altitude, would that not lead to a wrong global altitude?

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.

2 participants