Hi all,
attached is example of ArduPilot Ground Station that logs KML data, as well as displays plane path during flight. (plane icon is current position and flight path is yellow with green bars, but I have lot's of data packed so it's hard to see green in the attached pic).

There were mentions in couple of threads about desire for GPS / kml logging and some more general purpose logging as well. While back I modified original GS LabVIEW code to include KML logging...My personal GS (test) code looks a bit different (different architecture, etc.) but in attached example I added functionality to Jordi's code....It can be easily adapted to Mike Black's modified GS LabVIEW code as well. I left everything else "as is" so to preserve familiarity/look-feel of the code....
For people with LabVIEW development environment:
-Copy paste attached files into your groundstation directory (groundtest-kml_mod.vi , KML-Compose.vi, and NetworkLink file)
-NetworkLink file will be overwritten so you might want to back it up (just rename it)
-Don't worry about flight.kml file as we will use flight-test.kml file
-Start groundtest-kml_mod.vi ( instead of groundtest.vi as you would normally do)
For people without LabVIEW dev environment:
- sorry :( - you'll have to wait untill someone from 'Ground Station Dev group' compiles the files and include them into repository . I don't have access to depository and am using LabVIEW 8.5, while everyone else (i think) uses LabVIEW 8.6 - it would be just too big of a mess to keep up with dev version control so I'll leave it at "GS people" to compile the code and include it (if they so desire)
Note lat, lon, and alt data is logged into flight-test.kml file - It will be rewritten every time you start ground station...so If you want to preserve file for future use, after you are done with flight, copy or simply rename the file.
kml file will look something like this:

In the attached file lat and lon is not changing because that's the time frame while plane was sitting on the runway.
Attached files show basic example of GPS / kml logging that suited my needs. Expending this file, or creating more specific data log file is fairly trivial and can easily be done.
NetworkLink.kml
groundtest-kml_mod.vi
KML-Compose.vi
You need to be a member of DIY Drones to add comments!
Join DIY Drones