mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 06:43:34 +08:00
Navigator: Takeoff mode: add state 2-state takeoff for fixed-wing
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -640,6 +640,10 @@ void Navigator::run()
|
||||
|
||||
rep->next.valid = false;
|
||||
|
||||
// after the straight climbout the vehicle will establish on a loiter at this position
|
||||
_takeoff.setLoiterPosition(matrix::Vector2d(cmd.param5, cmd.param6));
|
||||
_takeoff.setLoiterAltitudeAmsl(cmd.param7);
|
||||
|
||||
// CMD_NAV_TAKEOFF is acknowledged by commander
|
||||
|
||||
#if CONFIG_MODE_NAVIGATOR_VTOL_TAKEOFF
|
||||
|
||||
Reference in New Issue
Block a user