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

AP_NavEKF3: fixed getLLH alt for local origin height #22036

Merged
merged 1 commit into from
Oct 23, 2022

Conversation

tridge
Copy link
Contributor

@tridge tridge commented Oct 22, 2022

this fixes a bug introduced in #21834

this fix in #21834 was correct for getPosD, but should not have been applied to getLLH

this caused cruise mode in plane to descend/ascend by the difference between the public and local origins on mode entry

fixes #21984

this fixes a bug introduced in ArduPilot#21834

this fix in ArduPilot#21834 was correct for getPosD, but should not have been
applied to getLLH

this caused cruise mode in plane to descend/ascend by the difference
between the public and local origins on mode entry

fixes ArduPilot#21984
@shellixyz
Copy link
Contributor

I have flight tested this PR, it does fix the TECS altitude issue discussed in #21984

@tridge tridge added this to Pending in Plane 4.3 Oct 22, 2022
@tridge tridge merged commit 92f2515 into ArduPilot:master Oct 23, 2022
@tridge tridge moved this from Pending to For 4.3.1 in Plane 4.3 Oct 23, 2022
@rmackay9 rmackay9 added this to Pending in Copter 4.3 Oct 24, 2022
@rmackay9 rmackay9 moved this from Pending to 4.3.0-beta4 in Copter 4.3 Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Copter 4.3
4.3.0 / 4.3.0-beta4
Development

Successfully merging this pull request may close these issues.

TECS target altitude changes on its own
3 participants