I've been able to use pymavlink.mavutil to read telemetry from a .tlog created by MissionPlanner.

To do this, I create a mavlogfile like this:

mlog = mavutil.mavlink_connection('mylogfile.tlog')

Now I want to read the flight parameters (settings) from the .tlog . The method mavlogfile.param_fetch_all() appears to be designed only to work with a live telemetry link rather than a log. It sends a parameter request command, which obviously has no result when you are linked to a log rather than an actual aircraft.

I know the parameters are in the .tlog... how do I get them out?


1 Answer 1


Turns out it's implemented in https://github.com/mavlink/mavlink/blob/master/pymavlink/tools/mavparms.py

and the relevant code is:

m = mlog.recv_match(type='PARAM_VALUE')


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.