java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | dji.common.flightcontroller.DJIIMUSensorState |
Enum for IMU sensor status
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJIIMUSensorState | BiasLarge | The bias value of IMU Sensor is large, the aircraft cannot take off, IMU calibration is needed. | |||||||||
DJIIMUSensorState | BiasMedium | The bias value of IMU Sensor is medium, the aircraft can take off safely. | |||||||||
DJIIMUSensorState | BiasNormal | The bias value of IMU Sensor is normal, the aircraft can take off safely. | |||||||||
DJIIMUSensorState | Calibrating | The IMU Sensor is calibrating. | |||||||||
DJIIMUSensorState | DataException | The IMU Sensor has data exception. | |||||||||
DJIIMUSensorState | Disconnect | The IMU Sensor disconnected with the flight controller. | |||||||||
DJIIMUSensorState | Failed | Calibrate the IMU Sensor failed. | |||||||||
DJIIMUSensorState | Motion | The IMU Sensor is not static, the aircraft may not be stable enough for it to calculate sensor data correctly. | |||||||||
DJIIMUSensorState | Unknown | The IMU Sensor status is unknown. | |||||||||
DJIIMUSensorState | WarmingUp | The IMU Sensor is warming up. |
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 DJIIMUSensorState |
find(int b)
Returns the enum constant of this type with the input integer value.
| ||||||||||
int |
value()
Returns the real value of a enum constant.
| ||||||||||
static DJIIMUSensorState | valueOf(String name) | ||||||||||
final static DJIIMUSensorState[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
The bias value of IMU Sensor is large, the aircraft cannot take off, IMU calibration is needed.
The bias value of IMU Sensor is medium, the aircraft can take off safely.
The bias value of IMU Sensor is normal, the aircraft can take off safely.
The IMU Sensor has data exception. Please try to calibrate the IMU and restart the aircraft, if the status still exist, you may need to contact DJI dev@dji.com for further assistant.
The IMU Sensor disconnected with the flight controller.
The IMU Sensor is not static, the aircraft may not be stable enough for it to calculate sensor data correctly.
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 input integer value.
b | The input integer value. |
---|
Returns the real value of a enum constant.