MagnetometerWith1StepCalibration

interface MagnetometerWith1StepCalibration : Magnetometer

Peripheral interface for magnetometer with 1-step calibration process.

The calibration is done on the 3 axes simultaneously: roll, pitch and yaw.

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

device.getPeripheral(MagnetometerWith1StepCalibration.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.