Skip to content

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
merged 10 commits into from
May 7, 2024

Conversation

tridge
Copy link
Contributor

@tridge tridge commented Apr 29, 2024

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

@CraigElder CraigElder changed the title Baro: improved atmostpheric model for high altitude flight Baro: improved atmospheric model for high altitude flight Apr 30, 2024
@tridge tridge force-pushed the pr-atmospheric-model branch 9 times, most recently from 8802c1e to fd12f2c Compare May 6, 2024 21:48
@tridge tridge force-pushed the pr-atmospheric-model branch 3 times, most recently from 2f7a3b9 to 7d55f64 Compare May 7, 2024 05:54
tridge added 6 commits May 7, 2024 18:55
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
tridge added 4 commits May 7, 2024 18:55
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
@tridge tridge force-pushed the pr-atmospheric-model branch from 7d55f64 to 6744f45 Compare May 7, 2024 08:56
@peterbarker peterbarker merged commit e5a2ba3 into ArduPilot:master May 7, 2024
91 checks passed
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.

4 participants