DJI Mobile SDK Documentation

      class IntelligentHotpointMissionEvent

      @EXClassNullAway
      class IntelligentHotpointMissionEvent
      Package:dji.common.mission.intelligenthotpoint
      Description:

      This class encapsulates all the state changes of the Intelligent Hotpoint mission operator.

      Class Members:
      State
      method
      method getPreviousState
      @Nullable
      IntelligentHotpointMissionState getPreviousState()
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Get the previous state of the operator.

      Return:
      IntelligentHotpointMissionStateAn object of IntelligentHotpointMissionState.
      method getCurrentState
      @NonNull
      IntelligentHotpointMissionState getCurrentState()
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Get the current state of the operator.

      Return:
      IntelligentHotpointMissionStateAn object of IntelligentHotpointMissionState.
      Mission Mode
      method
      method getMissionMode
      IntelligentHotpointMissionMode getMissionMode()
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Gets the current mission mode.

      Return:
      IntelligentHotpointMissionModeAn enum value of IntelligentHotpointMissionMode.
      Target Rect
      method
      method getTargetRectF
      RectF getTargetRectF()
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Get 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. When send target rect to Vision system, it will recognize the target and push modified target bounding box. Value is available if the getCurrentState is RECOGNIZING_TARGET, WAITING_FOR_CONFIRMATION, MEASURING_TARGET.

      Return:
      RectFAn object of "RectF"
      Radius
      method
      method getRadius
      float getRadius()
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Gets the intelligent hotpoint radius in meters of the mission. If there is no executing mission, it is 0.

      Return:
      floatA float value of current radius.
      method getTargetRadius
      float getTargetRadius()
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Gets the target intelligent hotpoint radius in meters of the mission. Set by user, and the getRadius will change to getTargetRadius. If there is no executing mission, it is 0.

      Return:
      floatA float value of target radius.
      Altitude
      method
      method getAltitude
      float getAltitude()
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Gets the current intelligent hotpoint altitude in meters of the mission.

      Return:
      floatA float value of current altitude.
      method getTargetAltitude
      float getTargetAltitude()
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Gets the target intelligent hotpoint altitude in meters of the mission. Setted by user, and the getAltitude will change to getTargetAltitude.

      Return:
      floatA float value of target altitude.
      Angular Velocity
      method
      method getMaxAngularVelocity
      float getMaxAngularVelocity()
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Gets the intelligent hotpoint max angular velocity from current radius. This value depends on the current situation of the aircraft.

      Return:
      floatA float value of max angularVelocity.
      method getAngularVelocity
      float getAngularVelocity()
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Gets the current intelligent hotpoint angular velocity from current radius.

      Return:
      floatA float value of angularVelocity.
      Hotpoint
      method
      method getHotpoint
      LocationCoordinate2D getHotpoint()
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Gets the intelligent hotpoint's coordinate of the mission.

      Return:
      LocationCoordinate2DAn object of LocationCoordinate2D.
      Error
      method
      method getError
      @Nullable
      DJIError getError()
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Gets the intelligent hotpoint's encountered error if there is any. Otherwise, it is null.

      Return:
      DJIErrorAn object of DJIError.