RelativeMoveDirective

A relative move directive.

Allows to instruct the drone to first rotate its heading by a specified angle, then to move a specified distance from the current location. Optionally, desired speed values for the move may also be specified.

Note that moves are relative to the current drone orientation (drone's reference), and that the specified rotation will not modify the move (i.e. moves are always rectilinear).

See also

Constructors

Link copied to clipboard
constructor(forwardComponent: Double, rightComponent: Double, downwardComponent: Double, headingRotation: Double, @Nullable speed: GuidedPilotingItf.Directive.Speed)
Creates a relative move directive.

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
Retrieves the desired displacement along the drone down axis, in meters.
Link copied to clipboard
Retrieves the desired displacement along the drone front axis, in meters.
Link copied to clipboard
Retrieves the desired relative rotation of heading, in degrees (clockwise).
Link copied to clipboard
Retrieves the desired displacement along the drone right axis, in meters.
Link copied to clipboard
Retrieves the requested guided flight speed.
Link copied to clipboard
Retrieves the guided flight type.
Link copied to clipboard
open fun hashCode(): Int