Fixedwing: Fix circular landing when global origin is not set (#26223)

When not specified by navigator, the center of the landing orbit is set
to the current position when landing is triggered.
This commit is contained in:
Mathieu Bresciani
2026-01-08 14:44:00 +01:00
committed by GitHub
parent 7c318a3296
commit c71e2d41d6
2 changed files with 43 additions and 12 deletions
@@ -319,6 +319,7 @@ private:
// orbit to altitude only when the aircraft has entered the final *straight approach.
hrt_abstime _time_started_landing{0};
Vector2f _local_landing_orbit_center{NAN, NAN};
// [m] lateral touchdown position offset manually commanded during landing
float _lateral_touchdown_position_offset{0.0f};