-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Baro: improved atmospheric model for high altitude flight #26915
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IamPete1
reviewed
Apr 30, 2024
peterbarker
reviewed
Apr 30, 2024
peterbarker
reviewed
Apr 30, 2024
8802c1e
to
fd12f2c
Compare
tridge
commented
May 6, 2024
2f7a3b9
to
7d55f64
Compare
this gets altitude and EAS2TAS much more accurately up to around 150k feet AMSL. Enabled on boards using EKF double
this gets altitude and EAS2TAS much more accurately up to around 150k feet AMSL. Enabled on boards using EKF double
useful as GPS comparison
this uses the stored value calculated once per loop
and improve pitot handling
this test completed at 59s before the baro change, and needs 62s afterwards with the slight change in atmospheric modelling increase to 70s so it doesn't flap
7d55f64
to
6744f45
Compare
peterbarker
approved these changes
May 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this replaces PR #17984
the formula in this PR are from @hendjoshsr71 who re-worked my original PR to use a parametric system instead of a full table
the use of the new formula is only enabled if EKF double precision is enabled or building for SITL