MissionPlanner icon indicating copy to clipboard operation
MissionPlanner copied to clipboard

Copter: Ability to generate auto-mission from dataflash log, to reproduct manual flight

Open roque-canales opened this issue 12 years ago • 2 comments

Idea is after manual flight with manual triggering of photos, is to generate from GUI auto-mission from dataflash log to reproduct this manual flight.

GUI will generate new mission including horizontal and vertical positioning, heading, gimbal pitch and cam trig points. first we can elaborate mission generator algorithm that generate points each X meters (for example from one to 100 meters resolution) and that take gimbal pitch position ant each point and each camera triggering point.

What you think?

roque-canales avatar Nov 16 '14 11:11 roque-canales

I've already done part of this with a php script to convert a kml file into a waypoint file. It took about two hours, but needs tidying up for general use.

I lost one of two batteries in the dark on a 3km manual flight, and needed to recreate the mission at a lower altitude to go and look for it. Recreating the mission was fairly easy - whittled down 5000 gps coordinates to about 100 and using 3D pythagoras to ensure waypoint separation, and it worked surprisingly well, apart from waypoint glitches. Now, actually finding the battery is the hard bit, so will have to refine the mission to cover more area at lower altitude.

Attached is a screenshot of the reconstructed mission and a google earth screenshot of kml from the original manual flight in green and kml from the replayed mission below. More details here: http://ardupilot.com/forum/viewtopic.php?f=80&t=10312

mission-planner-reconstructed-flight original-and-replayed

AndyLeeRobinson avatar Nov 25 '14 23:11 AndyLeeRobinson

Awsome work Andy!

When this function is added to MP?

roque-canales avatar Nov 26 '14 08:11 roque-canales