Waypoint action of type DJIWaypointActionType the aircraft will execute this action once the aircraft reaches the waypoint. All possible actions are defined in the DJIWaypointActionType enum.
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 with range of [0, 32767] milliseconds.
DJIWaypointActionTypeShootPhoto
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.
DJIWaypointActionTypeStartRecord
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.
DJIWaypointActionTypeStopRecord
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.
DJIWaypointActionTypeRotateAircraft
Rotates the aircraft's yaw. The rotation direction is determined by the waypoint's turnMode property. The actionParam value must be in the range of [-180, 180] degrees.
DJIWaypointActionTypeRotateGimbalPitch
Rotates the gimbal's pitch. The actionParam value should be in range [-90, 0] degrees.