HK's GCS now compatible with APM MAVlink

mavlinkparameters.gif
mavlinkmission.gif
Paramater updates and waypoint/mission commands are now included in my GCS. "Control" commands are not available yet because I don't know what's ready to go in the APM MAVlink code yet....

The MAVlink trunk is here: https://ardupilot-mega.googlecode.com/svn/Sketchbook/trunk

Download my GCS here: http://code.google.com/p/happykillmore-gcs/downloads/list

It took me a while (and some help from Doug Weibel...Thanks Doug!) to figure out the 2-way communication. The hardest part about this implementation is it's asyncronous. Which means you've got to be ready to handle the messages even though they're sprinkled in with telemetry data. I still need to add the ability to change the output Hz on the MAVlink messages.... and all the control messages (like RTL and Loiter Here....etc). I'd also like to be able to download logs files using MAVlink.... but I'm not sure if that's possible.

Works via X-Bee. Built in parameter limits and descriptions. Drag and drop waypoints built into Google Earth plugin for real time mission planning. Automatic retries and timeouts for bad connections. Progress bar and status messages. Full APM mission command set.
E-mail me when people leave their comments –

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

Join diydrones

Comments

  • 1) Don't worry about deleting past versions. Every single one of them is still available for download: http://code.google.com/p/happykillmore-gcs/downloads/list?can=1&amp...

    2) The grayed button indicates either a saved data log is being played or Google Earth has not yet initialized. Do you have the Google Earth plug-in installed and are you online when you're trying to do this?

  • Did more checking.

    1) deleting the reg entry allowed the old (jan 14 2011) version to work.thank goodness i saved them.

    2) the new version refuses to work with an ftdi adapter or the microchip one. both adapters work with realterm, hyper terminal and old version of gcs. let me be clear what i mean by that, the port name gets filled in correctly but the actual connect button is light gray and not click-able. going to the tracking tab shows the same port and the connect button is normal color and click-able. its not the adapters.

    3) both adapters are seen by device manager and return to the same com port numbers they had over multiple reboots.

  • Click Windows Key + R (or Start, Run) and type devmgmt.msc and hit enter. Then expand Ports (COM & LPT). I suspect your USB to COM port is not being recognized.

     

    The only "clean" install would be to close the GCS, click Windows Key + R and type regedit. Go to HKEY_LOCAL_MACHINE\Software and delete the branch HK_GCS. Then start the GCS again. All the settings will have been deleted.

  • Hi,

    I have a problem with the latest version - the main com port connect button stay's grey. This did not happen on the last version and on this version its clickable on the tracking tab. I tried to install the previous version but no dice - always throws an error and even if I click ignore when I get to the now clickable connect button (after clicking the arrow button) the baud rate drop down has no values and won't let you type a number in. Would it be possible to have the option of "clean" install ? The serial port is USB and always worked before and works with multiple other programs - perhaps there is a property your now checking that perhaps does not need to be checked ? Thanks in advance - I find your GCS really handy to check the ap is working.

  • Ok bro! you will get your beer when you (and them) are done :P I'm following your posts ;)
  • lol...just waiting on Doug and Mike to finish up AP_Var and then get MAVlink working again in the APM trunk...There have been some big changes since Sunday that they're still finishing up....
  • When you complete it, i will donate 2 beer to you ;)
  • Not yet. That is correct. 90% of mission planning isn't ready yet either. Things are in flux on the APM side right now.
  • so there can be joystick support for APM ?
  • 2 1/2 pages of comments deleted. Let's get back on subject. If you find a bug, I'd like to hear about it. If you know how to fix it, tell me. No more games.
This reply was deleted.