mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 02:50:34 +08:00
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:
committed by
GitHub
parent
7c318a3296
commit
c71e2d41d6
@@ -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};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user