DJI Mobile SDK Documentation

      class DJIHotpointAction

      @interface DJIHotpointAction : DJIMissionAction
      Header:DJIHotpointAction.h
      Inherits From:DJIMissionAction
      Description:

      This class represents a hotpoint action used as an element in a Timeline mission. By creating an object of this class and adding it to Mission Control's Timeline, the aircraft will fly along a portion of a circle centered on a location of interest when the Timeline reaches the action.

      Class Members:
      Constructor
      method
      method initWithMission
      - (instancetype)initWithMission:(DJIHotpointMission*)mission
      Header:DJIHotpointAction.h
      Description:

      Initialize with hotpoint mission. The Hotpoint action will automatically stop after one complete orbit (360 degrees).

      Input Parameters:
      DJIHotpointMission* missionAn object of DJIHotpointMission.
      method initWithMission:surroundingAngle
      - (instancetype)initWithMission:(DJIHotpointMission*)mission surroundingAngle:(float)surroundingAngle
      Header:DJIHotpointAction.h
      Description:

      Initialize with a hotpoint mission and the angular distance the aircraft should travel within the orbit.

      Input Parameters:
      DJIHotpointMission* missionAn object of DJIHotpointMission.
      float surroundingAngleAngle in degrees.
      Surrounding Angle
      property
      property surroundingAngle
      @property(nonatomic, assign) float surroundingAngle
      Header:DJIHotpointAction.h
      Description:

      The angular distance in degrees the aircraft will travel in the orbit of the hotpoint. The default is 360 degrees.

      Mission
      property
      property mission
      @property(nonatomic, readonly) DJIHotpointMission *mission
      Header:DJIHotpointAction.h
      Description:

      The hotpoint mission which is associated with this action.

      See Also:

      DJIHotpointMission