Skip to main content

WaringIdEnum

enum class WaringIdEnum

Description: Alarm enumeration class

enum class WaringIdEnum(var value: Int) {
/**
* unknown
*/
UNKNOWN(-1),
/**
* Abnormal attitude control
*/
TILT_ANGLE_CONTROL_ABNORMAL (0x0001),
/**
* Abnormal heading control
*/
HEADING_ANGLE_CONTROL_ABNORMAL (0x0002),
/**
* Abnormal horizontal speed control
*/
HORIZONTAL_VELOCITY_CONTROL_ABNORMAL (0x0003),
/**
* Abnormal vertical speed control
*/
VERTICAL_VELOCITY_CONTROL_ABNORMAL (0x0004),
/**
* Abnormal pitch or roll angle fusion
*/
TILT_ANGLE_FUSION_ABNORMAL (0x0005),
/**
* Abnormal heading fusion
*/
HEADING_ANGLE_FUSION_ABNORMAL (0x0006),
/**
* Abnormal horizontal velocity fusion
*/
HORIZONTAL_VELOCITY_FUSION_ABNORMAL (0x0007),
/**
* Abnormal vertical velocity fusion
*/
VERTICAL_VELOCITY_FUSION_ABNORMAL (0x0008),
/**
* Abnormal voltage
*/
BATTERY_ERROR(0x0101),
/**
* Battery damaged
*/
BATTERY_DAMAGE (0x0102),
/**
* Batteries are invalid
*/
BATTERY_INVALID (0x0103),
/**
* Battery off
*/
BATTERY_POWER_OFF (0x0104),
/**
* Low battery temperature
*/
BATTERY_TEMPERATURE_LOW(0x0105),
/**
* High battery temperature
*/
BATTERY_TEMPERATURE_HIGH (0x0106),
/**
* Severe low battery
*/
CRITICAL_BATTERY (0x0107),
/**
* low power
*/
LOW_BATTERY (0x0108),
/**
* Intelligent low power
*/
INTELLIGENCE_LOW_BATTERY (0x0109),
/**
* The cell pressure difference is large
*/
BATTERY_VOLTAGE_PRESSURE_DIFFERENTIAL(0x010A),
/**
* The battery is over-discharged
*/
BATTERY_EXCESSIVE_DISCHARGE(0x010B),
/**
* Battery voltage is not updated
*/
BATTERY_VOLTAGE_NOTCHANGE (0x010C),
/**
* Stop propellers in the air
*/
PARTIAL_ROTOR_FAILURE (0x0201),
/**
* All propellers stopped in the air
*/
ALL_ROTOR_FAILURE (0x0202),
/**
* Abnormal ESC
*/
ESC_ERROR(0x0203),
/**
* some with paddles
*/
ROTOR_PARTIALLY_MOUNTED (0x0204),
/**
* close to power limit
*/
APPROACH_UPPER_LIMIT_SPEED(0x0205),
/**
* Approaching the lower limit of power
*/
APPROACH_LOWER_LIMIT_SPEED (0x0206),
/**
* All without paddles
*/
NO_ROTOR_MOUNTED(0x0207),
/**
* IMU exception
*/
IMU_ABNORMAL(0x0301),
/**
* Abnormal barometer
*/
BAROMETER_ABNORMAL(0x0302),
/**
* Abnormal magnetometer
*/
MAGNETOMETER_ABNORMAL(0x0303),
/**
* Novice mode without GPS
*/
BEGINNER_MODE_WITHOUT_GPS (0x0304),
/**
* IMU needs to be calibrated
*/
IMU_CALIBRATION_REQUIRED(0x0305),
/**
* Magnetometer needs to be calibrated
*/
MAGNETOMETER_CALIBRATION_REQUIRED (0x0306),
/**
* RTK not ready
*/
RTK_NOT_READY(0x0307),
/**
* The gimbal is not ready
*/
GIMBAL_NOT_READY (0x0308),
/**
* Calibrating the magnetometer
*/
MAGNETOMETER_CALIBRATING (0x0309),
/**
* Aircraft tilt too high
*/
TILT_OVER(0x0401),
/**
* The plane lost contact
*/
DRONE_LOST(0x0402),
/**
* Detected impact
*/
HIT_DETECTED(0x0403),
/**
* no fly zone
*/
NFZ(0x0404),
/**
* Reach the maximum height of the height limit zone
*/
REACH_MAX_HEIGHT_LIMIT_ZONE (0x0405),
/**
* Reach limit distance
*/
REACH_MAX_DISTANCE_OF_GEO_FENCE (0x0406),
/**
* reached height limit
*/
REACH_MAX_HEIGHT_OF_GEO_FENCE (0x0407),
/**
* upgrading
*/
UPGRADING(0x0408),
/**
* Attitude initialization
*/
ATTITUDE_INITIALIZING (0x0409),
/**
* Aircraft not activated
*/
UAV_NOT_ACTIVATED(0x040A),
/**
* High wind warning
*/
LARGE_WIND_WARNING (0x040B),
/**
* The takeoff point is inaccurate
*/
HOME_POINT_NOT_GOOD (0x040C),
/**
* Weak GPS signal
*/
GPS_WEAK(0x040D),
/**
* GPS is spoofed
*/
GPS_ENSNARE(0x040E),
/**
* Low battery alarm and RC_Loss
*/
LOW_BATTERY_AND_RC_LOST (0x0501),
/**
* RC_Loss
*/
RC_LOST(0x0502),
/**
* Low battery
*/
GO_HOME_LOW_BATTERY (0x0503),
/**
* Alternate landing
*/
ALTERNATIVE_LANDING (0x0504),
/**
* off-site landing
*/
REMOTE_LANDING(0x0505),
/**
* nav command
*/
FROM_NAV_CMD(0x0506),
/**
* Cancel the waypoint mission and return
*/
CANCEL_WAYPOINT_MISSION_AND_RETURN (0x0507),
/**
* Abnormal voltage
*/
ABNORMAL_VOLTAGE (0x0508),
/**
* RC button
*/
FROM_RC_BUTTON(0x0509),
/**
* no fly zone
*/
NO_FLY_ZONE(0x050A),
/**
* Return after waypoint mission
*/
WAYPOINT_MISSION_FINISHED(0x050B),
/**
* not triggered
*/
NO_REACTION(0x050C),
/**
* Finish
*/
EXIT_MISSION_COMPLETED (0x050D),
/**
* User hits the stick to exit
*/
EXIT_MISSION_INTERRUPT(0x050E),
/**
* target lost
*/
EXIT_MISSION_OBJECT_LOSING (0x050F),
/**
* Special pause command
*/
EXIT_MISSION_SPECIAL_PAUSE(0x0510),
/**
* User operation exit (remote control end)
*/
USER_MANIPULATION_RC(0x0511),
/**
* User operation exit (APP end)
*/
USER_MANIPULATION_APP (0x0512),
/**
* No-fly zone restrictions
*/
EXIT_MISSION_NFZ (0x0513),
/**
* Geofence restrictions
*/
EXIT_MISSION_GEOFENCING (0x0514),
/**
* Aircraft locked
*/
EXIT_MISSION_ROTOR_LOCKED (0x0515),
/**
* Visual obstacle avoidance
*/
EXIT_MISSION_OBSTACLE_AVOIDING (0x0516),
/**
* End commands for landing protection, etc.
*/
EXIT_MISSION_VISION_MODE_TER(0x0517),
/**
* visual mode
*/
EXIT_MISSION_STARPOINT_MODE (0X0518),
/**
* Attitude mode
*/
EXIT_MISSION_ATTI_MODE(0x0519),
/**
* The plane did not take off
*/
EXIT_MISSION_NOT_TAKE_OFF (0x051A),
/**
* track mode out of geo-fence
*/
EXIT_MISSION_TRACK_MODE(0x051B),
/**
* PTZ stalled
*/
GIMBAL_STALLING (0x0601),
/**
* The gimbal IMU is not calibrated
*/
GIMBAL_IMU_NOT_CALIBRATED (0x0602),
/**
* Gimbal IMU failure
*/
GIMBAL_IMU_FAULT(0x0603),
/**
* Gimbal overheating
*/
GIMBAL_OVERHEAT(0x0604),
/**
* Communication between gimbal and flight controller is interrupted
*/
GIMBAL_AND_UAV_COMMUNICATION_DISCONNECT(0x0605),
/**
* Gimbal motor self-test failed
*/
GIMBAL_MOTOR_SELF_CHECKING_FAILURE (0x0606),
/**
* Laser module failure
*/
LASER_MODULE_FAILURE (0x0607),
/**
* The gimbal reaches the limit
*/
GIMBAL_MOTOR_REACH_LIMIT(0x0608),
/**
* The gimbal motor is not calibrated
*/
GIMBAL_MOTOR_NOT_CALIBRATED (0x0609),
/**
* The camera input image is abnormal
*/
CAMERA_IMAGE_ERROR(0x0701),
/**
* Visual initialization exception
*/
VISION_INIT_ERROR(0x0702),
/**
* Raw image processing exception
*/
RAW_IMAGE_ERROR(0x0703),
/**
* Distord graph processing exception
*/
DISTORD_IMAGE_ERROR(0x0704),
/**
* rectify image processing exception
*/
RECTIFY_IMAGE_ERROR(0x0705),
/**
* pointcloud graph processing exception
*/
POINT_CLOUD_IMAGE_ERROR(0x0706),
/**
* distordresize graph processing exception
*/
DISTORDRESIZE_IMAGE_ERROR (0x0707),
/**
* The brightness is too low and the perception is turned off
*/
BRIGHTNESS_LOWW_PERCEPTION_CLOSE (0x0708),
/**
* SD card error
*/
SD_CARD_ERROR(0x0801),
/**
* SD card is full
*/
SD_CARD_FULL(0x0802),
/**
* UFS is full
*/
UFS_FULL(0x0803),
/**
* Main camera detection failed
*/
MAIN_CAMERA_DETECT_FAIL (0x0804),
/**
* Telephoto camera detection failed
*/
LONG_FOCAL_CAMERA_DETECT_FAIL (0x0805),
/**
* Up and down vision detection failed
*/
UPPER_AND_LOWER_VISION_DETECT_FAIL (0x0806),
/**
* Front and rear visual detection failed
*/
FRONT_AND_BACK_VISION_DETECT_FAIL (0x0807),
/**
* F401 Query version failed
*/
F401_CHECK_VERSION_FAIL (0x0808),
/**
* Zoom lens zoom group failure
*/
ZOOM_LENS_ZOOM_ERROR(0x0809),
/**
* Zoom lens focus group failure
*/
ZOOM_LENS_FOCUS_ERROR(0x080a),
/**
* F401 Firmware upgrade failed
*/
F401_FIRMWARE_UPDATE_FAIL (0x080b),
/**
* The infrared camera failed to open
*/
INFRARED_CAMERA_OPEN_FAIL (0x080c),
/**
* Radar overheating
*/
RADAR_OVERHEATING (0x0901),
/**
* Radar self-test failed
*/
RADAR_SELF_CHECK_ERROR(0x0902),
/**
* Radar PLL abnormal
*/
RADAR_PLL_ERROR(0x0903),
/**
* Radar baseband DONE timeout
*/
RADAR_DONE_TIMEOUT (0x0904),
/**
* Abnormal radar communication
*/
RADAR_COMMUNICATION_ERROR(0x0905),
/**
* PPS signal abnormality
*/
PPS_SIGNAL_ERROR(0x0906),
/**
* Unable to check if the plane has not taken off
*/
MISSION_MANAGER_ERROR(0x0d01),
/**
* Abnormal angle
*/
MISSION_MANAGER_ANGULAR_ANOMALY (0x0d02),
/**
* highly abnormal
*/
MISSION_MANAGER_HEIGHT_ANOMALY (0x0d03),
/**
* The flying point is in the no-fly zone
*/
MISSION_MANAGER_FLY_TO_NOFLY_ZONE(0x0d04),
/**
* Abnormal laser
*/
MISSION_MANAGER_LASER_ANOMALY (0x0d05),
/**
* suffer from radio frequency interference
*/
RADIO_FREQUENCY_INTERFERENCE(0x0a80),
/**
* GPS suffers from interference
*/
GPS_SUFFERS_INTERFERENCE(0x0a81),
/**
* mission flight exception
*/
MISSION_FLIGHT_ANOMALY (0x0b06),
/**
* The flight control gateway is abnormal
*/
FLIGHT_CONTROL_GATEWAY_ABNORMAL(0x0b07),
/**
* mif visual positioning is invalid
*/
MIF_VISUAL_LOCALIZATION_FAILURE (0x0b08),
// The planner state is abnormal (the camera hangs up), and the return to home obstacle is invalid
EMM_EXIT_RETURN_HOME_OBS (0x0D07),
// The visual point cloud is abnormal, and the manual obstacle avoidance system is abnormal
EMM_EXIT_SEMI_AUTO_OBS (0x0D08),
// Defog warning
CAMERA_DEMIST (0x0709);

}