DJIHotPointMission
@interface DJIHotPointMission : DJIMission
The class represents a hotpoint mission, which can be executed by the mission manager. In a hot point mission, the aircraft will repeatedly fly circles of a constant radius around a specified point called a Hot Point. 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 not supported by Mavic Pro when using WiFi connection.
-
Sets the coordinate of the hot point.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) CLLocationCoordinate2D hotPoint;
-
Sets the altitude of the hot point orbit, in meters, with a range [5,500] meters. The altitude is relative to the ground altitude from which the aircraft took off.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) float altitude;
-
Sets the circular flight path radius with which the aircraft will fly around the hotpoint. The value of this property should be in the range of
[DJIHotPointMinRadius, DJIHotPointMaxRadius]
meters.Declaration
Objective-C
@property (assign, readwrite, nonatomic) float radius;
-
YES if the aircraft is to travel around the hotpoint in the clockwise direction.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) BOOL isClockwise;
-
Sets the angular velocity (in degrees/second) of the aircraft as it orbits the hot point. The default value is 20 degrees/s. The angular velocity is relative to the orbit radius. Call the
maxAngularVelocityForRadius:radius
method to get the maximum supported angular velocity for a given radius.Declaration
Objective-C
@property (assign, readwrite, nonatomic) float angularVelocity;
-
Aircraft’s initial point on the circular flight path when starting the hot point mission.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) DJIHotPointStartPoint startPoint;
-
Aircraft’s heading while flying around the hot point. It can be pointed toward or away from the hot point, forward or backward along its flight route, and can be controlled by the remote controller.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) DJIHotPointHeading heading;
-
Returns the supported maximum angular velocity, in degrees/second, for the hot point radius (specified in meters).
Declaration
Objective-C
+ (float)maxAngularVelocityForRadius:(float)radius;
Parameters
radius
Hot point radius with a range of [5,500] meters. This is used to calculate the maximum angular velocity.
Return Value
Returns the maximum supported angular velocity for the specified radius. Returns 0 if an unsupported radius is specified.