Skip to main content

CalibrationEventEnum

enum class CalibrationEventEnum

Description: Calibration event

enum class CalibrationEventEnum(var value: Int) {
/**
* No calibration information
*/
UNKNOWN(0),

/**
* start calibration
*/
START(1),

/**
* Calibration succeeded
*/
SUCCESS(2),

/**
* Data saving failed
*/
SAVE_DATA_FAILED(3),

/**
* aircraft tilt
*/
INVALID_LEANS(4),

/**
* Aircraft shaking
*/
INVALID_SHAKE(5),

/**
* Aircraft motors are rotating
*/
INVALID_MOTOR_WORKING(6),

/**
* Calibration timed out
*/
TIMEOUT(7),

/**
* No GPS, no calibration possible
*/
NO_GPS(8),

/**
* The aircraft is facing the wrong direction
*/
WRONG_DIRECTION(9),

/**
* Calibration failed
*/
FAIL(10),

/**
* Calibration data calculation in progress
*/
CALCULATE(11),

/**
* Alternate compass calibration failed
*/
RESERVE_COMPASS_FAIL(12),

/**
* Primary compass calibration failed
*/
MAIN_COMPASS_FAIL(13);
}