Magnetometer

interface Magnetometer : Peripheral

Magnetometer peripheral interface.

Base class telling whether the magnetometer is calibrated or not.

A subclass shall be used to control the calibration process, depending on the device, for instance MagnetometerWith1StepCalibration or MagnetometerWith3StepCalibration.

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

device.getPeripheral(Magnetometer.class)

See also

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

Types

Link copied to clipboard
enum MagnetometerCalibrationState
Magnetometer calibration state.

Functions

Link copied to clipboard
abstract fun calibrationState(): Magnetometer.MagnetometerCalibrationState
The magnetometer calibration state.

Inheritors

Link copied to clipboard
Link copied to clipboard