Could somone give me some tips on how to extract radio data from the TLOG files for use outside of APM (i.e. Excel or MATLAB)?
Tags:

Hi John,
If you have python, you can write a small script that uses pymavlink to extract it into any format you like. See mavlogdump for an example.
Otherwise you can use the "Convert to Text" button in Mission Planner. That will produce a txt file in the same directory as the tlog. Then you'd need to import that using whatever tools you like.
It would be nice to have a "convert to CSV" button in the planner that converted one packet type to CSV. Maybe ask Michael Oborne to add it?
Cheers, Tridge
the planner has a tlog to text conversion, if you use excel to import that data with a space and "=" delimiter you can get this data.
Permalink Reply by Brady D on May 8, 2012 at 5:45pm This is what I have been look for and is a life saver. By chance is there a column header somewhere? I know some of the columns, but others I can't quite figure out. For instance column D
Thanks
Permalink Reply by Wesley Chuen on May 8, 2012 at 5:55pm After you Convert to Text, each number has the header attached to it.
5/8/2012 2:04:02 PM 55 11 F4 1 1 23 mavlink_rc_channels_raw_t chan1_raw=1502 chan2_raw=1501 chan3_raw=1505 chan4_raw=1508 chan5_raw=1899 chan6_raw=1111 chan7_raw=1112 chan8_raw=1498 rssi=1 Len:25
Permalink Reply by Brady D on May 8, 2012 at 6:16pm I got that but what about the 55, 11, F4, 1, 1, 23 in the example you posted?
Permalink Reply by Wesley Chuen on May 8, 2012 at 6:20pm I have no idea. I just extract the info that I'm interested in. :D
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.249 members
183 members
693 members
24 members
51 members
© 2013 Created by Chris Anderson.
Powered by
