Posted by Colin Ho on December 16, 2009 at 12:46pm
Hello,I was wondering how you all log your telemetry. Do you use a directly log your data off your xbee using a serial logger, or is there an easy way to grab it in .kml format through the groundstation? Thanks!!-Colin Ho
You need to be a member of diydrones to add comments!
Thanks for the info Peter. I'll definitely check it out, as it seems more robust than mine.
It does not integrate with GCS. I've been just leaving the laptop in the car with a terminal running on the XBee receiver, then saving that dump to a text file.
Attached is a sample log file that I'm using (flight_log_3.txt)
And the python script that I use to convert to a KML path (ardulog2kml.py)
Here's how it's run...
johnc@kabaseo:~$ python ardulog2kml.py
What log file do you want to open? flight_log_3.txt
johnc@kabaseo:~$
It currently outputs "file.kml" that you open in GE to see your track. Suggestions are appreciated!
Hope this helps someone else too....it's helped me.
Definitely going to check out Peter's work as well.
I'm in the middle of trying to figure this out as well. I've got a few serial logs, and can get a point in time picture of the plane in Google Earth, but I can't figure out how to get it to lay down tracks.
There's got to be a way to do this without another piece of HW.
If it's needed, I could probably make some kind of python parser to convert a serial log into a KML document.
Would this be useful, or are we missing something obvious in GE or the ground station SW?
Replies
How can I log telemetry output (like tlog) onboard ? (without transmitting it down?)
and: will APM2 - with it's onboard SD do proper (complete) logging ?
ie: !!!TOW:422022750,LAT:32248268,LON:-110833968,SPD:27.76,CRT:0.00,ALT:66,ALH:50,CRS:126.28,BER:218,WPN:0,DST:455,BTV:0.00,RSP:35,***
I plan on trying to use this in your script to create a "playable" timeline of the flight in google earth.
I'm sure you have a few legs up on me in this, but it seems that it would be a cool feature.
JC
udall2.txt
It does not integrate with GCS. I've been just leaving the laptop in the car with a terminal running on the XBee receiver, then saving that dump to a text file.
Attached is a sample log file that I'm using (flight_log_3.txt)
And the python script that I use to convert to a KML path (ardulog2kml.py)
Here's how it's run...
johnc@kabaseo:~$ python ardulog2kml.py
What log file do you want to open? flight_log_3.txt
johnc@kabaseo:~$
It currently outputs "file.kml" that you open in GE to see your track. Suggestions are appreciated!
Hope this helps someone else too....it's helped me.
Definitely going to check out Peter's work as well.
Thanks!
JC
flight_log_3.txt
ardulog2kml.py
John, that would great if it is integrated into gcs, however incase of loss of comms , this may not happen.
There's got to be a way to do this without another piece of HW.
If it's needed, I could probably make some kind of python parser to convert a serial log into a KML document.
Would this be useful, or are we missing something obvious in GE or the ground station SW?
Thanks!
JC