mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 04:51:35 +08:00
properly handle takeoff waypoint when not currently at takeoff location
This commit is contained in:
committed by
Lorenz Meier
parent
20c8c6a2fa
commit
4b9a793c8f
@@ -185,6 +185,7 @@ private:
|
||||
int _current_offboard_mission_index;
|
||||
bool _need_takeoff; /**< if true, then takeoff must be performed before going to the first waypoint (if needed) */
|
||||
bool _takeoff; /**< takeoff state flag */
|
||||
bool _takeoff_finished; /**< set if takeoff was requested before and is now done */
|
||||
|
||||
enum {
|
||||
MISSION_TYPE_NONE,
|
||||
|
||||
Reference in New Issue
Block a user