DJI Mobile SDK Documentation

      class IntelligentHotpointMission

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

      This class represents an Intelligent Hotpoint mission. In an Intelligent Hotpoint mission, the aircraft will repeatedly fly circles of a constant radius around a specified point called a Hotpoint. The user can control the aircraft to fly around the Hotpoint with a specific radius and altitude. During execution, the user can also use the physical remote controller to modify its radius and speed. It is only supported by Mavic 2 Zoom and Mavic 2 Pro.

      Class Members:
      method IntelligentHotpointMission
      IntelligentHotpointMission(LocationCoordinate2D hotpoint)
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Constructor method for the DJIIntelligentHotpointMission.

      Input Parameters:
      LocationCoordinate2D hotpointLocation of the hotpoint.
      Check Parameters
      method
      method checkParameters
      @Nullable
      DJIError checkParameters()
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Checks if the configuration for mission is valid before calling startMission of IntelligentHotpointMissionOperator.

      Return:
      DJIErrorNull if everything is OK, a DJIError if at least one is invalid.
      Hotpoint
      method
      method setHotpoint
      void setHotpoint(LocationCoordinate2D hotpoint)
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Sets the coordinate of the hotpoint.

      Input Parameters:
      LocationCoordinate2D hotpointA LocationCoordinate2D object of hotpoint.
      method getHotpoint
      LocationCoordinate2D getHotpoint()
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Gets the coordinate of the hotpoint.

      Return:
      LocationCoordinate2DA LocationCoordinate2D object of hotpoint.
      Radius
      final
      final MAX_RADIUS
      static final double MAX_RADIUS = 500
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Maximum radius, in meters, of the circular path the aircraft will fly around the point of interest. Currently 500m.

      final MIN_RADIUS
      static final double MIN_RADIUS = 5
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Minimum radius, in meters, of the circular path the aircraft will fly around the point of interest.

      Altitude
      final
      final MAX_ALTITUDE
      static final double MAX_ALTITUDE = 500
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Maximum altitude in meters for an Intelligent Hotpoint mission.

      final MIN_ALTITUDE
      static final double MIN_ALTITUDE = 5
      Package:dji.common.mission.intelligenthotpoint
      Description:

      Minimum altitude in meters for an Intelligent Hotpoint mission.

      enum IntelligentHotpointMissionMode
      enum IntelligentHotpointMissionMode
      Package:dji.common.flightcontroller.flightassistant
      Description:

      This enum defines the mission mode.

      Enum Members:
      GPS_BASEDThis mode means current mission is started by startMission.
      VISION_BASEDThis mode means current mission is started by startRecognizeTargetInRect and acceptConfirmation. In this mode, you can resetGimbalToCenter while mission is executing or paused.
      UNKNOWNThe mission mode is unknown.
      Class Members: