HK's GCS now compatible with APM MAVlink



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.

Views: 905

Comment by Paul Mather on February 16, 2011 at 6:20am
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....
Comment by Ersin Acar on February 16, 2011 at 6:47am
Ok bro! you will get your beer when you (and them) are done :P I'm following your posts ;)
Comment by Paul G. on February 19, 2011 at 1:09am

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.

Comment by Paul Mather on February 19, 2011 at 7:36am

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.

Comment by Paul G. on February 19, 2011 at 6:12pm

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.

Comment by Paul Mather on February 20, 2011 at 10:18am

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&...

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?

Comment by Johann Van Niekerk on March 19, 2011 at 12:03am

Hi Happy

 

I installed the latest HK*GCS on a older pc with Xp and service pack 3 , google earth , plugin , directX, .Net2 but the GCs just gives me the windows "send error report" msg .

 

Any idea ?

Comment by Paul Mather on March 19, 2011 at 5:11am

Does it give any details in the send error report?

 

Have you looked in the Event Logs for any details?

 

Does this computer have any serial ports? Take a look in hardware manager to see if any are listed.

Comment by Johann Van Niekerk on March 19, 2011 at 12:21pm

Hi Happy

 

when i try and get the error report it never sends it , there is no erroe in the log file that has to do with GCS was one with anti virus but after taking antivirus of it still did the same with out error log. yes it has serial ports

 

PC spec is 1,2 GHz celoron ,1gb ram , XP system so it should be able to run it .

Comment by Paul Mather on March 19, 2011 at 6:51pm

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

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service