The Intelligent hotpoint mission operator is the only object that controls, runs and monitors Intelligent Hotpoint Missions. It can be accessed from MissionControl. IntelligentHotpointMissionOperator has two ways to start an Intelligent hotpoint mission: One is to start a DJIIntelligentHotpointMission, which will repeatedly around a specified point called hotpoint. The other you will target a rect in your FPV view, and send it to Vision system to track, when the state change to DJIIntelligentHotpointMissionOperator_WaitingForConfirmation, you can acceptConfirmation, then the aircraft will fly around the object. When mission executing, it will not need target object, actually track mode only help to set hotpoint at a target object. Now only supported by Mavic 2 Zoom and Mavic 2 Pro.
voidstartMission(@NonNull IntelligentHotpointMission mission, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.mission.intelligenthotpoint
Description:
Starts to execute an Intelligent Hotpoint mission. This only be called when the getCurrentState is READY_TO_START. After a mission is started successfully, the getCurrentState will become EXECUTING. If the mission starts successful, the aircraft will fly arround the "hotpoint" of the mission. The current horizontal distance between the aircraft and the hotpoint must be [5,500]. The current vertical distance between the aircraft and the relative takeoff altitude must be [5,500].
voidstartRecognizeTargetInRect(@NonNull RectF rectF, @Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.mission.intelligenthotpoint
Description:
Send a target rect in video stream to aircraft, the vision system will recognize the target in the rect. This only be called when the getCurrentState is READY_TO_START. After recognize target success, the getCurrentState will become WAITING_FOR_CONFIRMATION means recognize the target successfully or READY_TO_START means can not recognize the target.
voidresetGimbalToCenter(@Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.mission.intelligenthotpoint
Description:
Reset gimbal to center for the executing mission, the camera will direct to the target. It can only be called when the getCurrentState is one of the following: - EXECUTING - EXECUTION_PAUSED This feature is only avaliable in recognize mission.