dronekit / dronekit-python

DroneKit-Python library for communicating with Drones via MAVLink.
https://readthedocs.org/projects/dronekit-python/
Apache License 2.0
1.62k stars 1.44k forks source link

Turning a Breadcrumb Trail Into WayPoint Primitives #561

Open peterbarker opened 8 years ago

peterbarker commented 8 years ago

After flying a mission, the logs contain (often several) position "breadcrumb" trails.

One of our examples, "flight_replay", replays these positions by creating mavlink-style waypoints and uploading them to the vehicle. However, it is constrained in the number of waypoints it can upload to the flight hardware.

There are several solutions that could be used to avoid this problem. One of the more interesting ideas is to turn the breadcrumb trail into a set of waypoints, but using the full set of available waypoint types (e.g. MAV_CMD_NAV_SPLINE_WAYPOINT).

Metrics for success could include an average-distance-in-space and average-distance-in-time.

hamishwillee commented 8 years ago

Another interesting enhancement on this idea is to also map waypoints in such a way that the original speed of vehicle travel is also captured.