Skip to main content

FlightControlTurnOnMotorStatusEnum

enum class FlightControlTurnOnMotorStatusEnum

Description: The motor cannot start normally and the alarm state

enum class FlightControlTurnOnMotorStatusEnum(val value: Int) {

/**
* no error
*/
NO_ERROR (0),

/**
* IMU exception
*/
IMU_LOSS (1),

/**
* Severely low battery
*/
CRITICASL_BATTERY (2),

/**
* Abnormal barometer
*/
BARO_LOSS (3),

/**
* no fly zone
*/
REDZONE (4),

/**
* Abnormal IOC mode
*/
IOC_ERROR (5),

/**
* No GPS signal in novice mode
*/
BEGINNER_NO_GPS (6),

/**
* The aircraft tilt angle is greater than 45 degrees
*/
DISARM_TILT_OVER_45DEG (7),

/**
* IMU exception
*/
DISARM_IMU_LOSS (8),

/**
* IMU preheating
*/
IMU_IS_WARMING_UP (9),

/**
* Calibrating the magnetometer
*/
MAGNETOMETER_ISCALIBRATING (10),

/**
* Multiple sensors are abnormal
*/
MULTIPLE_SENSORS_ERROR (11),

/**
* The gimbal is not ready
*/
GIMBAL_IS_NOT_READY (12),

/**
* upgrade in progress
*/
UPGRADE_IS_ONGOING (13),

/**
* IMU requires user calibration
*/
IMU_NEED_USER_CALIBRATION (14),

/**
* Attitude initialization
*/
ATTITUDE_INITIALIZATION (15),

/**
* RTK not ready
*/
RTK_NOT_READY (16),

/**
* Aircraft not activated
*/
DRONE_NONACTIVATED (17);

}