Drone
A generic drone. This is the base class to manage a specific drone.
Functions
Link copied to clipboard
Connects the drone.
Connects the drone using the specified device connector and custom parameters.
Link copied to clipboard
Disconnects the drone.
Link copied to clipboard
Gets an instrument.
abstract fun <I : Instrument> getInstrument(instrumentClass: Class<I>, observer: Ref.Observer<I>): Ref<I>
Gets an instrument and registers an observer notified each time it changes.
Link copied to clipboard
Gets a peripheral.
abstract fun <T : Peripheral> getPeripheral(peripheralClass: Class<T>, observer: Ref.Observer<T>): Ref<T>
Gets a peripheral and registers an observer notified each time it changes.
Link copied to clipboard
Gets a piloting interface.
abstract fun <PI : PilotingItf> getPilotingItf(pilotingItfClass: Class<PI>, observer: Ref.Observer<PI>): Ref<PI>
Gets a piloting interface and registers an observer notified each time it changes.
Link copied to clipboard
Gets current drone state and registers an observer notified each time it changes.