Skip to content

Conversation

dakejahl
Copy link
Contributor

During a mission the last waypoint is often a land waypoint. If the previous waypoint is not directly above the land waypoint the offtrack calculation is incorrect. Land is a special case and should not use the offtrack logic which is intended for line-following between waypoints.

Introduced in #23371 when the offtrack calculation switched from 2D to 3D.

Fixes #25723

During a mission the last waypoint is often a LAND. If the previous waypoint is not directly above the land waypoint the offtrack calculation is incorrect. This regression was introduced when the offtrack calculation switched from 2D to 3D.
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.

[Bug] Eratic multicopter mission landing

2 participants