DJIWaypointMissionExecuteState
enum DJIWaypointMissionExecuteState : uint8_t {}
Current waypoint mission state.
-
Waypoint mission is initializing, which means the mission has started and the aircraft is going to the first waypoint.
Declaration
Objective-C
DJIWaypointMissionExecuteStateInitializing
-
Aircraft is currently moving toward the mission’s next waypoint. This happens when the
flightPathMode
is set toDJIWaypointMissionFlightPathNormal
.Declaration
Objective-C
DJIWaypointMissionExecuteStateMoving
-
Aircraft is currently moving. This happens when the
flightPathMode
is set toDJIWaypointMissionFlightPathCurved
.Declaration
Objective-C
DJIWaypointMissionExecuteStateCurveModeMoving
-
Aircraft is currently turning. This happens when the
flightPathMode
is set toDJIWaypointMissionFlightPathCurved
.Declaration
Objective-C
DJIWaypointMissionExecuteStateCurveModeTurning
-
Aircraft has reached a waypoint, has rotated to the new heading and is now processing actions. This state will be called before the waypoint actions starts executing and will occur for each waypoint action.
Declaration
Objective-C
DJIWaypointMissionExecuteStateBeginAction
-
Aircraft is at a waypoint and is executing an action.
Declaration
Objective-C
DJIWaypointMissionExecuteStateDoingAction
-
Aircraft is at a waypoint and has finished executing the current waypoint action. This state occurs once for each waypoint action.
Declaration
Objective-C
DJIWaypointMissionExecuteStateFinishedAction
-
Aircraft has returned to the first waypoint. This happens when the
finishedAction
is set toJIWaypointMissionFinishedGoFirstWaypoint
.Declaration
Objective-C
DJIWaypointMissionExecuteStateReturnToFirstWaypoint
-
The mission is currently paused by the user.
Declaration
Objective-C
DJIWaypointMissionExecuteStatePaused