mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 20:03:34 +08:00
FWModeManager: use always bearing to Takeoff waypoint (if defined)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -640,7 +640,7 @@ void Navigator::run()
|
||||
|
||||
rep->next.valid = false;
|
||||
|
||||
// after the straight climbout the vehicle will establish on a loiter at this position
|
||||
// Fixed-wing: vehicle will takeoff towards these coordinates and establish on a loiter there
|
||||
_takeoff.setLoiterPosition(matrix::Vector2d(cmd.param5, cmd.param6));
|
||||
_takeoff.setLoiterAltitudeAmsl(cmd.param7);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user