Mission planner for ArduPilot Mega (New version available)



Presenting MissionPlanner Alpha 0.2.

This is a very early alpha of MissionPlanner, a mission planning tool for ArduPilot Mega. This
version is primarily built to test the mapping features, but it can produce an include file to use with ArduPilot Mega Waypointwriter. The software is published as freeware.



All comments are appreciated.

Working but not tested:
* Updated to the latest WaypointWriter file format (22010-08-23)
* Loading maps from Open Street Map.
* Resizing program window.
* Cashing maps on disk so the program can be used off line with downloaded maps.
* Building a Mission of standard waypoints. Click Add WP button to start adding WPs.
* Delete a waypoint by right clicking it in the list (not in the map)
* Creating an include file compatible with APM WaypointWriter.
* Loading and saving missions
* Editing waypoints: Move, insert, delete, edit properties (altidude)

Not working yet
* Creating commands other that waypoints
* Other map features as displaying "no fly areas" and other custom map-objects.
* Serial protocol to upload waypoints over the serial port.
* Mission height profile.

At this stage MissionPlanner can create a include file to be used with APM waypoint writer utility, but please be aware that the file generated can contain bugs.

Installation
This program runs on Windows (should run on xp and later) and consists of a singla.exe file. This file can be placed in any directory.

When the programs starts for the first time it creates a directory (c:/osm_cashe) on the c: drive for cashing map-tiles.

Zip file containing exe and this text can be downloaded here:

http://www.droid.se/downloads/MissionplannerAlpha_0_3.zip

Enter a longitude and a latitude and press Goto LaLo to load the map.
If the map doesn't show. Drag it a little bit after the tiles have been downloaded.

Please test it if you have a couple of minutes to spare.

Instructions

* Click "Add Wpts" button to add waypoints.
* Click and drag an existing waypoint to move it
* Rightclick a waypoint in the map or in the list ro insert, delete or edit waypoints.
* to quit adding waypoints click the "done" button.
* Click "create .h" button to create the include file for Ardupilot Mega Waypoint writer.
* Pan map by click and drag, This can not be done when adding waypoints.

Regards

Magnus

Views: 938

Tags: APM, Mega, Mission, planning, waypoint


Developer
Comment by jasonshort on August 14, 2010 at 2:59pm
Wow, cool!

BTW, loop and absolute defines are no longer in the header file. There's no harm in having them there, they just wont do anything. Looping will become a command soon.
Jason
Comment by Christof Schmid on August 14, 2010 at 3:16pm
Works nice on W7 64. When draging a WP on the map, the coord does not follow.

Best
Christof
Comment by Magnus on August 14, 2010 at 3:17pm
Well, the version of Waypointwriter i have don't compile without them. As soon as i get a little bit more understanding of the command language i will try to add more features. And as soon as the command parser is written i will add the binary protocol! :)

This is actually a part of my own ground station project. It is more focused on following the UAV on a map rather than implementing full avionics. More on that later.

/Magnus
Comment by Magnus on August 14, 2010 at 3:32pm
Thanks Christof. I'll add that to my todo list. /Magnus
Comment by Dr Mike Black on August 14, 2010 at 4:45pm
Works a treat on win7 Ult..superb....

Only shortfall that im seeing is that Open Street, only shows streets and generally we dont fly over streets...with no topigraphical infomation we cant set WP`s within say a known field or area..

dont know if its possible to overlay satelite imagery, then its complete..

Not criticising in the slightest as its superb to use, easy to follow, and exactly what we need...

But IMHO we do need more graphical information.

Great work.

Mike.
Comment by Magnus on August 14, 2010 at 10:45pm
Mike,
I agree OSM is not ideal, but at least in some areas it has enough information for planning. Look at my screenshot above for example.

I am currently looking into other options, bu i really want to be able to cache the map so it is available offline at the flying site. I am not sure if you are allowed to do that with Google maps.

/Magnus
Comment by Ravi Gaddipati on August 15, 2010 at 9:03am
Look into embedding:
http://wikimapia.org/#lat=38.8782&lon=-77.1054&z=10&l=0...

the URL can control/tell you everything about what/where it is at.
Comment by Magnus on August 15, 2010 at 10:48am
Technically I could add a satellite layer from Google Maps, but I'm not sure i am allowed to store maps locally. There is a program called gmapcatcher that can download all tiles for a specific area. I think the file format and coordinate system is the same as OSM uses. My plan is let the user download Google satellite images with gmapcatcher for the area he/she wants an then they can be used in MissionPlanner.

However this not the first thing i will look into.

This is my current priorities:
* Get some more basic features in place. Load, save, insert WP
* Implement some of the additional APM Nav commands
* Implement APM binary telemetry protocol
* Additional map types

Any specific features that you would like to see that isn't available in the existing tools?

/Magnus
Comment by Magnus on August 15, 2010 at 10:52am
Another thought. It is possible to register on Open Street Map and add the geographic features you want for your specific location. An even more advanced idea is to set up our own OSM rendering service where we can add whatever we want to the standard map. It's probably possible to import airspace data and other information vital for safe flying with UAVs.

Lots of ideas...

/Magnus
Comment by Dr Mike Black on August 15, 2010 at 2:29pm
Magnus,

Please, under no circumstances think i was criticising.

For our team, here in the UK, we fly off the grid somewhat, so seeing satelite imagery is a must, purely because certain landmarks, create our safe fly zones...

I would love to help with this but simply do not have the knowledge required.

Im sure there are many of us with great ideas but no way to impliment them :~)

if i can help, please shout.

Mike.

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service