public final enum

DJIIMUSensorState

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ dji.common.flightcontroller.DJIIMUSensorState

Class Overview

Enum for IMU sensor status

Summary

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

Enum Values

public static final DJIIMUSensorState BiasLarge

The bias value of IMU Sensor is large, the aircraft cannot take off, IMU calibration is needed.

public static final DJIIMUSensorState BiasMedium

The bias value of IMU Sensor is medium, the aircraft can take off safely.

public static final DJIIMUSensorState BiasNormal

The bias value of IMU Sensor is normal, the aircraft can take off safely.

public static final DJIIMUSensorState Calibrating

The IMU Sensor is calibrating.

public static final DJIIMUSensorState DataException

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.

public static final DJIIMUSensorState Disconnect

The IMU Sensor disconnected with the flight controller.

public static final DJIIMUSensorState Failed

Calibrate the IMU Sensor failed.

public static final DJIIMUSensorState Motion

The IMU Sensor is not static, the aircraft may not be stable enough for it to calculate sensor data correctly.

public static final DJIIMUSensorState Unknown

The IMU Sensor status is unknown.

public static final DJIIMUSensorState WarmingUp

The IMU Sensor is warming up.

Public Methods

public boolean _equals (int b)

Returns the boolean result which compare the input integer value with the real value of a enum constant.

Parameters
b The input integer value.
Returns
  • boolean The compared result.

public static DJIIMUSensorState find (int b)

Returns the enum constant of this type with the input integer value.

Parameters
b The input integer value.
Returns
  • DJIMcDeformMode The enum constant of this type.

public int value ()

Returns the real value of a enum constant.

Returns
  • integer The real value.

public static DJIIMUSensorState valueOf (String name)

public static final DJIIMUSensorState[] values ()