Extracting telemetry log

Hello everyone,I am trying to extract the Telemetry log from pixhawk. But when I go to the HUD of mission planner and clicked on telemetry log, I am not able to see any telemetry log to open.Any help is appreciated.

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

Join diydrones

Email me when people reply –

Replies

  • In Mission Planner, the settings for Tlogs are simply not granular enough to opt out logs that we don’t need. In the end, I settled with the DataFlash Log, simply because I could untick all the checkboxes except for “GPS” and “Current” (which I need) under the Log_Bitmask in the Standard Params page in Mission Planner. The *.log file now only has the GPS lines and the current/voltage sensor lines, it's so much ‘cleaner’ but I only want the GPS values and the voltage value. Hence, I wrote a script in Python to parse the GPS lats and lons, as well as the volts which are in fact the RSSI readings on my 5.8ghz video receiver which RSSI pin is hooked up to the APM's voltage detection pin. After getting these 3 variables, I coded a couple more lines to display a graphical plot of all the GPS coordinates within a pop-up Window. Here’s a demo video. http://www.tinyurl.com/apm-gps-plotter

    Virgil said:

    Leonardo,

    Thanks for the response. I was able to extract the GPS coordinates in the format you described in your response; however, is there a way to get the format in a cleaner/nicer format?

    Thanks,

  • The data is there, but what you see is a format mask for the data. It´s easier to export the data as GPX since all the information it´s right there, as "<trkpt lat="-29.71479714725" lon="-51.2822437992893"><ele>135.57</ele><time>2014-07-26T11:39:02-03:00</time><course>0</course><roll>0</roll><pitch>0</pitch><mode>Unknown</mode></trkpt>" for example.

    • Leonardo,

      Thanks for the response. I was able to extract the GPS coordinates in the format you described in your response; however, is there a way to get the format in a cleaner/nicer format?

      Thanks,

      • I don´t know. Usually this way is easy enough to extract the coordinates, i really don´t know if there is a easier way.

  • 3D Robotics

    Are you connected to Pixhawk vis MAVlink?

    • Yes, I am. I can get the text file, but I am interested in just latitude, longitude, and time.

      Thanks
      • 3D Robotics

        I'm confused. You first said you couldn't get the tlog, and now you say you can get the tlog but it's got too much data?

        • Sorry for the whole confusion and thanks again for the response. This is what I am able to do. I am able get the text file and convert it to a CVS file. When I opened it in Excel, I do get to see a lot of data, but the GPS coordinates are not there. I tried to follow the following link I found in the forum -- http://diydrones.com/forum/topics/extract-gps-data-from-pixhawk-log. But still, I am not able to get any GPS coordinates. In mission Planner, I set log bitmask to GPS.

          The main parameters I would like to extract are GPS coordinates and time stamp. Any idea what I might not be doing right?  I am using Pixhawk.

          Thanks

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…