I've been able to use pymavlink.mavutil to read telemetry from a .tlog created by pixhawk flight controller in raspberrpi.

data = mavutil.mavlink_connection('mav.tlog')

Now I want to read specific flight parameters from the .tlog . but from

param = data.recv_match(type='PARAM_VALUE')

I get all the parameters. I want to get only parameters like GPS airspeed. and i want to know is this .tlog file give real-time data?? I want to extract real time GPS location. I have connected pixhawk to raspberry pi by connecting telemetry 2 port of the pixhawk to UART tx,rx,gnd of raspberry pi. connection is done through mavproxy.


Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.