A bounding box for the target. The rectangle is normalized to [0,1] where (0,0) is the top left of the video preview and (1,1) is the bottom right. The size parameter of CGRect can be set to 0 to initialize the mission with a point instead of a rectangle. If the mission is initialized with a point, the vision system will try to recognize the object around the point and return the representative rect in the status delegate.
Different modes of the ActiveTrack Mission. Defaults to TRACE, set to others to enable the feature.
Enum Members:
TRACE
Aircraft moves in behind the subject keeping a constant distance to it. Mission with this mode can only be started when the aircraft is flying.
PROFILE
Aircraft moves in parallel with the subject in the frame instead of behind. Mission with this mode can only be started when the aircraft is flying.
SPOTLIGHT
In Spotlight mode, the aircraft camera automatically follows the subject by rotating the aircraft's yaw, but the aircraft does not automatically keep a constant distance with the subject. Mission with this mode can only be started when the aircraft is flying.
SPOTLIGHT_PRO
In Spotlight Pro mode, the aircraft camera automatically follows the subject by rotating the gimbal's yaw, but the aircraft does not automatically keep a constant distance with the subject. Not Supported by Mavic Air 2, DJI Air 2S.
QUICK_SHOT
In QuickShot mode, the aircraft will fly in one of four preset paths (see QuickShotMode) while tracking the object recording a video. When a QuickShot mission ends, a 10-second video will be generated. Supported by Spark and Mavic 2 Series.
CIRCLE
Aircraft will circle around the object it is tracking. Only Supported by Mavic Air 2 and Mavic 2 Series.
QuickShot modes, which define different preset path for a QuickShot mission.
Enum Members:
CIRCLE
Aircraft will circle around the object it is tracking.
DRONIE
Aircraft will fly backward and upward with camera locked on the object it is tracking.
HELIX
Aircraft will fly upward, spiraling around the object it is tracking.
ROCKET
The aircraft will ascend with the camera pointing downward on the object it is tracking.
BOOMERANG
The aircraft will fly around the tracking object in an upwardly sloped oval with the video finishing at the start point. Supported by DJI Mavic Air, Mavic 2 Zoom and Mavic 2 Pro.
ASTEROID
The aircraft will fly backward and upward while recording video, capture a sphere panorama at the end of the flight path, then combine the footage and panorama into a short video. Supported by DJI Mavic Air, Mavic 2 Zoom and Mavic 2 Pro.
DOLLY_ZOOM
The aircraft will fly backward and upward. It will adjust the zoom during flight to keep the selected subject the same while the background changes. Ensure there is sufficient space when using Dolly Zoom. Allow at least triple distance from aircraft to the subject behind the aircraft. Only supported by Mavic 2 Zoom.
Spotlight modes, which define different submode for a Spotlight mission.
Enum Members:
ZOOM_GIMBAL_FOLLOWING
In gimbal follow mode, the orientation of the aircraft heading is always consitent with the gimbal, both aiming at the target. At this time, the attitude of the gimbal will be automatically adjusted so that the target can be in the center of the screen, and the user can fine-tune the field of view by triming the gimbal dial; the camera will automatically adjust the zoom to make the size of the target suitable.
ZOOM_GIMBAL_FREE
In gimbal free mode, the spot light tracking will only control the gimbal to track the target instead of the drone so that the landing gear of the aircraft may appear in the view and the gimbal rotation range is limited by the gimbal mechanical limit.