Pauses the executing mission. It can only be called when the getCurrentState is INITIAL_PHASE or EXECUTING. If this method is called in the INITIAL_PHASE state, the aircraft will continue flying to the start point but it will not continue to circle around the hotpoint until the user resumes the mission. After a mission is paused successfully, the getCurrentState will become EXECUTION_PAUSED.
Input Parameters:
@Nullable CompletionCallback callback
The execution callback with the execution result returned.
Detailed information of the mission being executed. setAltitude and setRadius may be different from the initial settings when starting the mission. It is null if there is an error encountered when trying to get the mission.
@NonNull CompletionCallback callback
The execution callback with the execution result returned.
staticvoidgetMaxAngularVelocityForRadius(@FloatRange(from = 5, to = 500)double radius, @NonNull final CompletionCallbackWith<Float> callback)
Package:
dji.sdk.mission.hotpoint
Description:
Returns the maximum supported angular velocity, in degrees/s, for a given Hotpoint mission radius in meters. Returns 0 if an unsupported radius is specified.
Input Parameters:
@FloatRange(from = 5, to = 500) double radius
Hotpoint radius with a range of [5,500] meters. This is used to calculate the maximum angular velocity.
@NonNull final CompletionCallbackWith<Float> callback
The execution callback with the execution result returned.