Activable

interface Activable

Interface for PilotingItf components that require activation.

An Activable PilotingItf component needs to be activated before most of its API can be operated (except stated otherwise in the component documentation. This mainly concerns settings APIs).

Only one Activable PilotingItf component may be active at a time when the drone is connected, and all drone provide a default component that is always activated when no other component is active anymore.

Types

State
Link copied to clipboard
enum State
Piloting interface state.

Functions

deactivate
Link copied to clipboard
abstract fun deactivate(): Boolean
Deactivates this piloting interface.
getState
Link copied to clipboard
abstract fun getState(): Activable.State
Gets the piloting interface's current state.

Inheritors

ManualCopterPilotingItf
Link copied to clipboard
FlightPlanPilotingItf
Link copied to clipboard
LookAtPilotingItf
Link copied to clipboard
FollowMePilotingItf
Link copied to clipboard
PointOfInterestPilotingItf
Link copied to clipboard
ReturnHomePilotingItf
Link copied to clipboard
GuidedPilotingItf
Link copied to clipboard