java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | dji.common.flightcontroller.DJICompassCalibrationStatus |
An enum class representing compass calibration.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJICompassCalibrationStatus | Failed | Compass calibration failed. | |||||||||
DJICompassCalibrationStatus | Horizontal | Compass horizontal calibration. | |||||||||
DJICompassCalibrationStatus | Normal | Normal state. | |||||||||
DJICompassCalibrationStatus | Succeeded | Compass calibration succeeded. | |||||||||
DJICompassCalibrationStatus | Vertical | Compass vertical calibration. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
_equals(int b)
Returns the boolean result which compare the input integer value with the real value of a enum constant.
| ||||||||||
static DJICompassCalibrationStatus |
find(int b)
Returns the enum constant of this type with the specified integer value.
| ||||||||||
int |
value()
Returns the real value of an enum constant.
| ||||||||||
static DJICompassCalibrationStatus | valueOf(String name) | ||||||||||
final static DJICompassCalibrationStatus[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Compass calibration failed. Make sure there are no magnets or metal objects near the compass and retry.
Compass horizontal calibration. The user should hold the aircraft horizontally and rotate it 360 degrees.
Compass vertical calibration. The user should hold the aircraft vertically, with the nose point towards the ground, and rotate the aircraft 360 degrees.
Returns the boolean result which compare the input integer value with the real value of a enum constant.
b | The input integer value. |
---|
Returns the enum constant of this type with the specified integer value.
b | The integer value. |
---|
Returns the real value of an enum constant.