class GimbalBalanceDetectionState
class GimbalBalanceDetectionState
|
Package: | dji.common.gimbal.XPortState |
Description:
This class provides current balance detection information of the gimbal.
Class Members:
Balance Detection Status
method
method getStatus
BalanceDetectionProgressStatus getStatus()
|
Package: | dji.common.gimbal.XPortState |
Description:
The balance detection status.
Return:
method getResultOnPitch
DetectionResultOnAxis getResultOnPitch()
|
Package: | dji.common.gimbal.XPortState |
Description:
Gimbal balance detection result on pitch.
Return:
method getResultOnRoll
DetectionResultOnAxis getResultOnRoll()
|
Package: | dji.common.gimbal.XPortState |
Description:
Gimbal balance detection result on roll.
Return:
method getResultOnYaw
DetectionResultOnAxis getResultOnYaw()
|
Package: | dji.common.gimbal.XPortState |
Description:
Gimbal balance detection result on yaw.
Return:
Direction Adjustment State
method
method getDirectionAdjustmentStateOnPitch
DirectionState getDirectionAdjustmentStateOnPitch()
|
Package: | dji.common.gimbal.XPortState |
Description:
Direction adjustment state on Pitch.
Return:
method getDirectionAdjustmentStateOnRoll
DirectionState getDirectionAdjustmentStateOnRoll()
|
Package: | dji.common.gimbal.XPortState |
Description:
Direction adjustment state on roll.
Return:
method getDirectionAdjustmentStateOnYaw
DirectionState getDirectionAdjustmentStateOnYaw()
|
Package: | dji.common.gimbal.XPortState |
Description:
Direction adjustment state on yaw.
Return:
method getProcess
Package: | dji.common.gimbal.XPortState |
Description:
Gimbal's balance detection progress percentage.
Return:
int | An int value of detection progress. |
Check if Aircraft Stability Satisfied
method
method isAircraftStabilitySatisfied
boolean isAircraftStabilitySatisfied()
|
Package: | dji.common.gimbal.XPortState |
Description:
false
if aircraft stability does not meet requirements.
Return:
boolean | A boolean value to check the aircraft's stability. |
Check if Aircraft Motor On
method
method isAircraftMotorOn
boolean isAircraftMotorOn()
|
Package: | dji.common.gimbal.XPortState |
Description:
Turn off aircraft motor and run balance detection again if this is true
.
Return:
boolean | A boolean value to check the aircraft's motor on. |
Check if Gimbal Motor Overloaded
method
method isGimbalMotorOverloaded
boolean isGimbalMotorOverloaded()
|
Package: | dji.common.gimbal.XPortState |
Description:
true
if the gimbal motor is overloaded. Unable to test normally.
Return:
boolean | A boolean value to check if the gimbal motor is overloaed. |