Skip to main content

CompassCalibrationStepEnum

enum class CompassCalibrationStepEnum

Description: Calibration procedure

enum class CompassCalibrationStepEnum(var value: Int) {
/**
* Calibration not started
*/
STEP0(0),

/**
* Step 1: Start the calibration and check the position of the aircraft: Hold the wing of the aircraft horizontally and rotate it around itself until the 4 LED lights flash green.
*/
STEP1(1),

/**
* Step 1: Start spinning
*/
ROTATE1(2),

/**
* Step 2: Start calibration: Make the aircraft vertical to the ground with the nose down, hold the wings with both hands, and rotate around itself until the 4 LED lights turn green and steady.
*/
STEP2(3),

/**
* Step 2: Start spinning
*/
ROTATE2(4),

/**
* Step 3: Check the position of the aircraft: rotate the aircraft sideways until the green light is on.
*/
STEP3(5),

/**
* Step 3: Start spinning
*/
ROTATE3(6);
}