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:
method getPreviousState
@Nullable IntelligentHotpointMissionState getPreviousState ()
Package: dji.common.mission.intelligenthotpoint
Description:
Get the previous state of the operator.
Return:
method getCurrentState
@NonNull IntelligentHotpointMissionState getCurrentState ()
Package: dji.common.mission.intelligenthotpoint
Description:
Get the current state of the operator.
Return:
method getMissionMode
IntelligentHotpointMissionMode getMissionMode ()
Package: dji.common.mission.intelligenthotpoint
Description:
Gets the current mission mode.
Return:
method 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:
RectF An object of "RectF"
method 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:
float A float value of current radius.
method 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:
float A float value of target radius.
method getAltitude
Package: dji.common.mission.intelligenthotpoint
Description:
Gets the current intelligent hotpoint altitude in meters of the mission.
Return:
float A 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:
float A float value of target altitude.
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:
float A 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:
float A float value of angularVelocity.
method getHotpoint
LocationCoordinate2D getHotpoint ()
Package: dji.common.mission.intelligenthotpoint
Description:
Gets the intelligent hotpoint's coordinate of the mission.
Return:
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: