MagnetometerWith3StepCalibration

interface MagnetometerWith3StepCalibration : Magnetometer

Peripheral interface for magnetometer with 3-step calibration process.

The calibration is done axis by axis, one after the other: roll, pitch and yaw. The order of axis calibration may vary depending on device.

This peripheral can be obtained from a peripheral providing device (such as a drone or a remote control) using:

device.getPeripheral(MagnetometerWith3StepCalibration.class)

See also

com.parrot.drone.groundsdk.device.peripheral.Peripheral.Provider

Types

Link copied to clipboard
interface CalibrationProcessState
State of the calibration process.

Functions

Link copied to clipboard
abstract fun calibrationState(): Magnetometer.MagnetometerCalibrationState
The magnetometer calibration state.
Link copied to clipboard
abstract fun cancelCalibrationProcess()
Cancels the calibration process.
Link copied to clipboard
Gets the state of the calibration process.
Link copied to clipboard
abstract fun startCalibrationProcess()
Starts the calibration process.