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)?

Views: 205

Reply to This

Replies to This Discussion

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.

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

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

I got that but what about the 55, 11, F4, 1, 1, 23 in the example you posted?

I have no idea.  I just extract the info that I'm interested in.  :D

It was worth asking. I guess I will do the same. 

RSS

Social Networking

Contests

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.

A list of all T3 contests is here

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service