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
E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • Answered
    Bye
  • Loti, you have a message. /Magnus
  • Hi Magnuss, i am a Delphi developper too,

    I am building a Delphi Mission Planner with google Earth and NOW :( I realize that I must work offline

    so I have to change to an offline tile system. Are you interested in sharing code ?

    Bye
  • Hello,
    How to cache sat. tiles?
    G.M. ajax-API works only from browser. I've written this in C, but i don't know if this is permitted.
    (G.M.-sat,cached + srtm + OpenSceneGraph + log from EasyStar)

  • @John
    I think you need to download the latest WaypointWriterMega from the repository. The file format for the mission files changed and i changed my code to match it.

    Satellite tiles from Google is planned, but i really want to be able to use it off line so i need to be able to cache tiles rather than just using a browser window.


    @Hamadivo
    I can absolutely share the source if you are interested. Do you want to participate in the development or just take a look at the code? The app is developed in Delphi (Object Pascal). Send me a message with your email address and i´ll send you the source code.





    /Magnus
  • It doesn't quite compile right for me out of the box.

    In function 'void writePoints()':
    error: 'wayPoints' was not declared in this scop

    the beginning of this float is wrong:

    float mission[][5] = {

    it should be

    float wayPoints[][5] = {
  • Takes a little while to figure out how to get around the map without adding WPs, etc...

    I definitely need satellite overlay as well. Not sure if there's a way to switch the tiles or not.

    Good effort though! Much needed as well!

    JC
  • hello,
    good work!

    Could you share the source code?
  • @Jason
    I uploaded a new version where i have implemented the changes.

    /Magnus
  • Developer
    Magnus,
    I've finalized the format of the mission planner. I changed the name of the waypoint array to force an error if people use old missions in the new writer.
    Here is an example:

    mission_example.h

This reply was deleted.