DJI Mobile SDK Documentation

      class ActiveTrackState

      @EXClassNullAway
      class ActiveTrackState extends MissionState
      Package:dji.common.mission.activetrack
      Inherits From:MissionState
      Description:

      All the possible states of ActiveTrackOperator.

      Class Members:

      Members

      Value
      final
      final UNKNOWN
      static final ActiveTrackState UNKNOWN = new ActiveTrackState("UNKNOWN")
      Package:dji.common.mission.activetrack
      Description:

      The state of the operator is unknown. It is the initial state when the operator is just created.

      final DISCONNECTED
      static final ActiveTrackState DISCONNECTED = new ActiveTrackState("DISCONNECTED")
      Package:dji.common.mission.activetrack
      Description:

      The connection between the mobile device and aircraft is broken.

      final RECOVERING
      static final ActiveTrackState RECOVERING = new ActiveTrackState("RECOVERING")
      Package:dji.common.mission.activetrack
      Description:

      The connection between the mobile device and aircraft is recovering. In this state, the operator is synchronizing the state from the aircraft.

      final NOT_SUPPORT
      static final ActiveTrackState NOT_SUPPORT = new ActiveTrackState("NOT_SUPPORT")
      Package:dji.common.mission.activetrack
      Description:

      The connected product does not support ActiveTrack mission.

      final CANNOT_START
      static final ActiveTrackState CANNOT_START = new ActiveTrackState("CANNOT_START")
      Package:dji.common.mission.activetrack
      Description:

      There is existing error stopping any ActiveTrack mission to start.

      final AUTO_SENSING
      static final ActiveTrackState AUTO_SENSING = new ActiveTrackState("AUTO_SENSING")
      Package:dji.common.mission.activetrack
      Description:

      The active track sensor is enabled and the aircraft is detecting the targets automatically. If there is target found, user can choose the right tracking subject. In this state, user can still manually draw the rectangle.

      final AUTO_SENSING_FOR_QUICK_SHOT
      static final ActiveTrackState
      AUTO_SENSING_FOR_QUICK_SHOT = new ActiveTrackState("AUTO_SENSING_FOR_QUICK_SHOT")
      Package:dji.common.mission.activetrack
      Description:

      The quick shot sensor is enabled.

      final DETECTING_HUMAN
      static final ActiveTrackState DETECTING_HUMAN = new ActiveTrackState("DETECTING_HUMAN")
      Package:dji.common.mission.activetrack
      Description:

      Gesture mode is enabled and the aircraft is looking for a target automatically. If a target is found, the operator will go to state WAITING_FOR_CONFIRMATION or CANNOT_CONFIRM.

      final WAITING_FOR_CONFIRMATION
      static final ActiveTrackState WAITING_FOR_CONFIRMATION = new ActiveTrackState("WAITING_FOR_CONFIRMATION")
      Package:dji.common.mission.activetrack
      Description:

      Target is found. Camera is already tracking the target. In order to make the aircraft follow the target, the confirmation from user is required. Once the target is confirmed, the state will become AIRCRAFT_FOLLOWING.

      final CANNOT_CONFIRM
      static final ActiveTrackState CANNOT_CONFIRM = new ActiveTrackState("CANNOT_CONFIRM")
      Package:dji.common.mission.activetrack
      Description:

      Target is found. Camera is already tracking the target but there is an error stopping the aircraft to follow the target. Use getReason in ActiveTrackTrackingState to check the reason.

      final AIRCRAFT_FOLLOWING
      static final ActiveTrackState AIRCRAFT_FOLLOWING = new ActiveTrackState("AIRCRAFT_FOLLOWING")
      Package:dji.common.mission.activetrack
      Description:

      Target is found. Camera is already tracking the target and the aircraft is following the target.

      final ONLY_CAMERA_FOLLOWING
      static final ActiveTrackState ONLY_CAMERA_FOLLOWING = new ActiveTrackState("ONLY_CAMERA_FOLLOWING")
      Package:dji.common.mission.activetrack
      Description:

      The operator is executing an ActiveTrack mission in Splotlight mode or Spotlight Pro mode. The target is found and camera is following the target.

      final PERFORMING_QUICK_SHOT
      static final ActiveTrackState PERFORMING_QUICK_SHOT = new ActiveTrackState("PERFORMING_QUICK_SHOT")
      Package:dji.common.mission.activetrack
      Description:

      The operator is executing a QuickShot ActiveTrack mission.

      final FINDING_TRACKED_TARGET
      static final ActiveTrackState FINDING_TRACKED_TARGET = new ActiveTrackState("FINDING_TRACKED_TARGET")
      Package:dji.common.mission.activetrack
      Description:

      ActiveTrack is started but the target is lost. The vision system is detecting the previously found target.

      final
      final IDLE
      static final ActiveTrackState IDLE = new ActiveTrackState("IDLE")
      Package:dji.common.mission.activetrack
      Description:

      The mission is idle.