CopterMotors

interface CopterMotors : Peripheral

CopterMotors peripheral interface for copter drones.

Allows to query the error status of each of the copter's motors.

This peripheral can be obtained from a Drone drone using:

drone.getPeripheral(CopterMotors.class)

See also

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

Types

Link copied to clipboard
enum Motor
Represents a copter's motor.

Functions

Link copied to clipboard
abstract fun getLatestError(@NonNull motor: CopterMotors.Motor): MotorError
Gets a motor's latest error status.
Link copied to clipboard
abstract fun getMotorsCurrentlyInError(): Set<CopterMotors.Motor>
Gets all motors currently undergoing some error.