DJIWaypointActionType
enum DJIWaypointActionType : NSUInteger {}
Waypoint action types.
-
Keeps the aircraft at the waypoint’s location. The
actionParam
parameter will determine how much time in milliseconds the aircraft will stay at the location. ThisactionParam
parameter can be set in the range of [0, 32767] milliseconds.Declaration
Objective-C
DJIWaypointActionTypeStay
-
Starts to shoot a photo. The
actionParam
for the waypoint action will be ignored. The maximum time set to execute this waypoint action is 6 seconds. If the time while executing the waypoint action goes above 6 seconds, the aircraft will stop executing the waypoint action and will move on to the next waypoint action, if one exists.Declaration
Objective-C
DJIWaypointActionTypeShootPhoto
-
Starts recording. The
actionParam
for the waypoint action will be ignored. The maximum time set to execute this waypoint action is 6 seconds. If the time while executing the waypoint action goes above 6 seconds (e.g. the camera is not present) the aircraft will stop executing the waypoint action and will move on to the next waypoint action, if one exists.Declaration
Objective-C
DJIWaypointActionTypeStartRecord
-
Stops recording. The
actionParam
for the waypoint action will be ignored. The maximum time set to execute this waypoint action is 6 seconds. If the time while executing the waypoint action goes above 6 seconds (e.g. the camera is not present) the aircraft will stop executing the waypoint action and will move on to the next waypoint action, if one exists.Declaration
Objective-C
DJIWaypointActionTypeStopRecord
-
Rotates the aircraft’s yaw. The rotation direction is determined by the waypoint’s
turnMode
property. TheactionParam
value must be in the range of [-180, 180] degrees.Declaration
Objective-C
DJIWaypointActionTypeRotateAircraft
-
Rotates the gimbal’s pitch. The actionParam value should be in range [-90, 0] degrees.
Declaration
Objective-C
DJIWaypointActionTypeRotateGimbalPitch