CompassInterferenceLevelEnum
enum class CompassInterferenceLevelEnum
Description: Magnetometer interference level
enum class CompassInterferenceLevelEnum(var value: Int) {
/**
* The magnetometer is not disturbed.
*/
LEVEL0(0),
/**
* Magnetometer receives slight disturbance, but maintains correct heading.
*/
LEVEL1(1),
/**
* The magnetometer is constantly being disturbed and correct heading cannot be guaranteed.
*/
LEVEL2(2),
/**
* The magnetometer continues to be disturbed, and the correct heading cannot be guaranteed, and the aircraft will switch to attitude mode soon.
*/
LEVEL3(3),
/**
* The magnetometer is abnormal and has switched to attitude mode.
*/
LEVEL4(4);
}