How to update a FlightPlan dynamically#
The FlightPlan Guidance mode uses a list of waypoints. This list can be
dynamically modified with the following commands:
Inserting a waypoint#
Insert a waypoint at index 1 using the
insert_waypoint command. The drone will
immediately join this new waypoint.
Removing a waypoint#
Remove a waypoint at index 1 using the
remove_waypoint command. The drone will
immediately join the next waypoint.
Replacing a waypoint#
replace_waypoint command executes both operations simultaneously: it
removes a given waypoint and replaces it by a new one.
Waypoints will only be updated once every second.