uploadFlightPlan

abstract fun uploadFlightPlan(@NonNull flightPlanFile: File)

Uploads a Flight Plan file to the drone.

If all other necessary conditions hold (GPS location acquired, drone properly calibrated), then the interface becomes idle and the Flight Plan is ready to be executed.

Parameters

flightPlanFile

file to upload

See also

<a href="https://developer.parrot.com/docs/mavlink-flightplan">Parrot FlightPlan Mavlink

documentation


abstract fun uploadFlightPlan(@NonNull flightPlanFile: File, @NonNull customId: String)

Uploads a Flight Plan file, with an associated identifier, to the drone.

This method associates the provided identifier only if isUploadWithCustomIdSupported returns true, otherwise it behaves strictly as uploadFlightPlan method.

If all other necessary conditions hold (GPS location acquired, drone properly calibrated), then the interface becomes idle and the Flight Plan is ready to be executed.

Parameters

flightPlanFile

file to upload

customId

identifier to associate with uploaded flight plan file

See also

<a href="https://developer.parrot.com/docs/mavlink-flightplan">Parrot FlightPlan Mavlink

documentation