CalibrationProcessState

State of the calibration process.

The calibration is done on the 3 axes simultaneously: roll, pitch and yaw. The calibration progress is provided for each axis as a percentage, in range [0, 100]. The magnetometer is calibrated when the calibration progress of the 3 axes has reached 100%.

Functions

Link copied to clipboard
@IntRange(from = 0, to = 100)
abstract fun pitchProgress(): Int
Gets the progress of calibration on pitch axis.
Link copied to clipboard
@IntRange(from = 0, to = 100)
abstract fun rollProgress(): Int
Gets the progress of calibration on roll axis.
Link copied to clipboard
@IntRange(from = 0, to = 100)
abstract fun yawProgress(): Int
Gets progress of calibration on yaw axis.