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

Views: 77

Reply to This

Replies to This Discussion

I use a stand-alone datalogger, the i-Blue 747, Cheap and effective.
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?

Thanks!

JC
here is another one i found interesting.
John, that would great if it is integrated into gcs, however incase of loss of comms , this may not happen.
I use a Qstarz BT-Q1300S Nano Keychain Bluetooth GPS Data Logger. It is super small and has usb and bluetooth output. About $99 at Amazon.com
Pardon my ignorance, but...

Is there an Ardu GCS out there that converts logged or live telemetry data to KML?

Andrew
Apparently not....it's interesting though....it shouldn't be too difficult of a problem to solve.

Converting the serial data logs into a KML type of format should just take a matter of time.

I've got a start, we'll see what happens.
Yeah, one of us should add datalogging (KML and otherwise) to the current Labview GCS. We were planning to do it before but got distracted with other projects. Paging Mike Black!
I made a python script that will parse a raw log file into KML. I need to do a couple more things, and I'm certainly not much of a programmer, but this is what it looks like right now.


and that's coming from the serial output like this:

+++ASP:-1,THH:1,RLL:-60,PCH:-9,***
+++ASP:0,THH:0,RLL:-60,PCH:-10,***
!!!LAT:32259464,LON:-110823520,SPD:13.58,CRT:0.00,ALT:81,ALH:50,CRS:70.13,BER:330,WPN:0,DST:176,BTV:0.00,RSP:-35,***
+++ASP:1,THH:0,RLL:-60,PCH:-11,***
+++ASP:7,THH:0,RLL:-60,PCH:-12,***
+++ASP:8,THH:0,RLL:-60,PCH:-15,***
+++ASP:7,THH:0,RLL:-60,PCH:-18,***
!!!LAT:32259620,LON:-110823408,SPD:16.40,CRT:0.00,ALT:75,ALH:50,CRS:37.78,BER:325,WPN:0,DST:166,BTV:0.00,RSP:-35,***
+++ASP:18,THH:0,RLL:-60,PCH:-16,***
+++ASP:20,THH:0,RLL:-58,PCH:-22,***
+++ASP:18,THH:0,RLL:-60,PCH:-20,***
+++ASP:28,THH:0,RLL:-60,PCH:-18,***
!!!LAT:32259812,LON:-110823448,SPD:17.96,CRT:0.00,ALT:68,ALH:50,CRS:344.19,BER:321,WPN:0,DST:147,BTV:0.00,RSP:-11,***
+++ASP:25,THH:0,RLL:-43,PCH:-21,***
+++ASP:27,THH:0,RLL:-17,PCH:-29,***
+++ASP:30,THH:0,RLL:-3,PCH:-29,***
+++ASP:23,THH:0,RLL:-8,PCH:-27,***
!!!LAT:32259986,LON:-110823656,SPD:18.79,CRT:0.00,ALT:60,ALH:50,CRS:317.39,BER:322,WPN:0,DST:120,BTV:0.00,RSP:2,***
+++ASP:25,THH:0,RLL:-8,PCH:-19,***
+++ASP:23,THH:0,RLL:-16,PCH:-18,***
+++ASP:26,THH:0,RLL:-18,PCH:-18,***

I'll send it in another day or so....thanks!

JC
I have already done similar code like this for the UAV DevBoard project. I would be happy to make it work for ardustation telemetry as well. Just send me some sample telemetry. Or alternatively you can edit the code which you will find here.

Pete

From UAV Devboard
Looks good John, does it integrate with GCS ?
Peter, saw the album , good work. Am sure if ported for Ardustation , lot of DIy guys will be very happy :) , can it be integrated with GCS for live GE display? Thanks for sharing
@Morli

No it will not work for the live display. The concept is exactly like John's. You capture the telemetry and do post analysis after the flight. The main improvement is that the code plots a model plane in GE for every 1 second of flight - so when you zoom in you can see the exact orientation of your plane for every second of flight.

There are other improvements as well on UAV DevBoard which would not be available on Ardupilot unless we can add more data to the telemetry stream. For example, the UAV DevBoard sends data about which waypoint the aircraft is aiming for. That enables each leg of the route to be colour coded. I also color code manual flight as grey (that should be possible for ardupilot).

I have done some work on live display using Visual Python. However, in practice, I'm usually concentrating on the flight. So even though my UAV DevBoard works very well, I don't want to be watching a PC during the flight. So I have not proceeded with further development yet of a live update system.

Pete
Well not Mike Black but none-the-less ( ; ) ) I just uploaded modified version of ArduPilot GS with basic kml logging

see
ArduPilot Ground Station - basic GPS / KML logging example

RSS

Groups

© 2012   Created by Chris Anderson.

Badges  |  Report an Issue  |  Terms of Service