For products that require the user to orient the aircraft during the IMU calibration, this method can be used to inform the user when each orientation is done. It is supported by flight controller firmware 3.2.0.0 or above.
The IMU sensor is disconnected from the flight controller.
DJIIMUSensorStateCalibrating
The IMU sensor is calibrating
DJIIMUSensorStateCalibrationFailed
Calibrate of the IMU sensor failed.
DJIIMUSensorStateDataException
The IMU sensor has a data exception. Calibrate the IMU and restart the aircraft. If afterwards the status still exists, you may need to contact DJI for further assistance.
DJIIMUSensorStateWarmingUp
The IMU sensor is warming up.
DJIIMUSensorStateInMotion
The IMU sensor is not static; the aircraft may not be stable enough to calculate sensor data correctly.
DJIIMUSensorStateNormalBias
The IMU's bias value is normal; the aircraft can safely take off.
DJIIMUSensorStateMediumBias
The IMU's bias value is medium; the aircraft can safely take off.
DJIIMUSensorStateLargeBias
The IMU's bias value is large; the aircraft cannot take off. IMU calibration is needed.
IMU calibration status for the current aircraft orientation.
Enum Members:
DJIIMUOrientationCalibrationStateCalibrating
Calibration of current aircraft orientation is in progress.
DJIIMUOrientationCalibrationStateCompleted
Calibration of current aircraft orientation is done. The orientation will be added to orientationsCalibrated. The aircraft should be rotated to a remaining orientation in orientationsToCalibrate.
DJIIMUOrientationCalibrationStateUnknown
Unknown. Used by products that do not require IMU multi-orientation calibration.