LocationDirective

A location move directive.

Allows to instruct the drone to move to a specified location, and rotate its heading to a specified value. Optionally, desired speed values for the move may also be specified.

See also

Constructors

Link copied to clipboard
constructor(latitude: Double, longitude: Double, altitude: Double, @NonNull orientation: GuidedPilotingItf.LocationDirective.Orientation, @Nullable speed: GuidedPilotingItf.Directive.Speed)
Creates an location guided flight.

Types

Link copied to clipboard
Orientation of a location directive.

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun getAltitude(): Double
Retrieves the altitude above take off point (in meters) to reach.
Link copied to clipboard
open fun getLatitude(): Double
Retrieves the latitude of the location (in degrees) to reach.
Link copied to clipboard
open fun getLongitude(): Double
Retrieves the longitude of the location (in degrees) to reach.
Link copied to clipboard
Retrieves the orientation of the guided flight.
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