Heres a Screenshot of my current work on my Ardupilot Mega mission planner. If you want a look get it here http://vps.oborne.me/ArdupilotMegaPlanner.zip

This program captures lat,long and alt from google earth and creates a waypoint writer header file or you can write directly to the APM EEPROM. Using the latest command format. The command list is currently pulled from the APM source files, so it should always be up to date.

Requirements

.net framework 2.0+

Google earth browser plugin http://earth.google.com/plugin/

It should run under mono

Functions

Read from your current APM and edit

Write new missions directoly to your APM

Open other peoples EEPROM data, view there missions etc.

EEPROM is saved to file on read - for those more technicly savy. - and to share with friends

View EEPROM - ability to display some internaly saved setting like gyro offsets etc.

Write a Waypoint writter header file, for use with waypoint writter.

To use it.

open it.

click Open defines.h - and point it to your ardupilot mega source directory

select your com port

click either read or write (after adding a few WP's)

Views: 4530


Developer
Comment by Doug Weibel on August 22, 2010 at 9:26pm
Michael - we have just changed the EEPROM organization. The start location for the commands/waypoints has changed, and the command structure has been changed to 14 bytes. Please look at R665.

I would be happy to alpha test for you. Please let us know if you have already caught the change above, or when you have adjusted for it.
Comment by John C. on August 22, 2010 at 9:44pm
Yes, please let us know. I'm definitely interested in testing as well.

Developer
Comment by Michael Oborne on August 22, 2010 at 10:32pm
Hi Guys,

Im pretty sure this will work as it is right now. It just creates a waypoint writter file in order CMD, byte, int , long long.
I based my code off the command description.txt file, which shows the new format im pretty sure.

My oilpan arrived just now, so should be testing the mega very shortly.

Thanks
Michael

Developer
Comment by Doug Weibel on August 23, 2010 at 7:13am
Michael, the command structure has been changed to 14 bytes at R665. You will need to change your program to reflect this change. Look at the changes to the waypoint writer at R666 - R668.
Comment by passunca on August 23, 2010 at 7:30am
If I were you I would use a template header file using place holders and some regular expressions on the code to make your application easily customisable. So you or anyone else using your tool cold change the output file without need to change the code of your application.

Developer
Comment by Jason Short on August 23, 2010 at 1:36pm
Doug, I think this just outputs missions and doesn't write to EEPROM itself. Mission headers don't contain that kind of information.

Developer
Comment by Michael Oborne on August 23, 2010 at 4:15pm
Hi Pedro,
ill have a look at implementing a command header file, like you said it would make new commands/command changes a breeze.
Michael
Comment by passunca on August 24, 2010 at 3:19am
Micheal if you need some help let me know.

Developer
Comment by Michael Oborne on August 24, 2010 at 6:48pm
Hi Pedro,
I will be uploading the source to the SVN soon, but am currently working on direct upload of waypoint to the mega. I can read out whats there at the moment, just need to get the writing sorted. Also ill implement an XML header type file for command structure, but working on direct upload first.
Michael

Developer
Comment by Michael Oborne on August 27, 2010 at 6:33am
OK There is a new version avaliable, Full EEPROM read and write, google earth autozoom. To use most items you need to specify the location of defines.h in your ardupilot mega source directory.

Comment

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

Join DIY Drones

Groups

Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2017   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service