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

[1.14] PositionSmoothing: fix corner altitude bug #22342

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

MaEtUgR
Copy link
Member

@MaEtUgR MaEtUgR commented Nov 10, 2023

Solved Problem

#22331

Changelog Entry

Bugfix: Multicopter altitude change sometimes not linear between two waypoints

Test coverage

I verified specifically on 1.14 the bug exists the exact same way and is fixed with the change with the same simulation testing method described in the original pr.

During a round corner the L1 distance calculation
was only done in 2D and the z-axis coordinate
was directly coming from the next waypoint.
This lead to an unpredictable altitude profile
between two waypoints. Sometimes almost all
altitude difference was already covered during
the turn instead of going diagonally.
@MaEtUgR MaEtUgR merged commit 6cdf096 into release/1.14 Nov 10, 2023
4 checks passed
@MaEtUgR MaEtUgR deleted the maetugr/fix-corner-altitude-1.14 branch November 10, 2023 18:32
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