move

abstract fun move(@NonNull directive: GuidedPilotingItf.Directive)

Starts a guided flight.

Moves the drone according to the specified movement directive

The interface will immediately change to ACTIVE, and then to IDLE when the drone reaches its destination or is stopped. It also becomes IDLE in case of error.

If this method is called while the previous guided flight is still in progress, it will be stopped immediately and the new guided flight is started.

In case of drone disconnection, the guided flight is interrupted.

Parameters

directive

movement directive

See also