orb:openlog

OpenLog

An OpenLog board is used to log all MAVLink data output by the mainboard. The minimal firmware is flashed and a baudrate of 57600 is hardcoded (see flashing).

The SD card must be FAT32 formatted and cards up to 64GB are supported.

A log file is created on every power up. You can convert the binary log into a human readable format using

mavlogdump.py –format json –no-timestamps –robust LOG00265.TXT

which will output something like:

Using MAVLink 1.0
Using MAVLink 1.0
{"meta": {"timestamp": 0.0, "type": "VFR_HUD"}, "data": {"throttle": 0, "groundspeed": 0.0, "airspeed": 0.0, "climb": 0.0, "alt": 0.0, "heading": 0}}
{"meta": {"timestamp": 1.008, "type": "SCALED_PRESSURE"}, "data": {"press_diff": 0.0, "time_boot_ms": 1008, "temperature": 2376, "press_abs": 669.219970703125}}
{"meta": {"timestamp": 1.008, "type": "VFR_HUD"}, "data": {"throttle": 0, "groundspeed": 0.0, "airspeed": 0.0, "climb": 0.0, "alt": 0.0, "heading": 0}}
{"meta": {"timestamp": 1.573, "type": "ATTITUDE"}, "data": {"pitchspeed": 0.0, "yaw": 0.0, "rollspeed": 0.0, "time_boot_ms": 1573, "pitch": 0.015184364281594753, "yawspeed": 0.0, "roll": -0.05550147220492363}}
{"meta": {"timestamp": 1.573, "type": "VFR_HUD"}, "data": {"throttle": 0, "groundspeed": 0.0, "airspeed": 0.0, "climb": 0.0, "alt": 0.0, "heading": 0}}
{"meta": {"timestamp": 1.987, "type": "SCALED_PRESSURE"}, "data": {"press_diff": 0.0, "time_boot_ms": 1987, "temperature": 2448, "press_abs": 976.3900146484375}}
{"meta": {"timestamp": 2.382, "type": "ATTITUDE"}, "data": {"pitchspeed": 0.0, "yaw": 0.0, "rollspeed": 0.0, "time_boot_ms": 2382, "pitch": 0.015184364281594753, "yawspeed": 0.0, "roll": -0.054454270750284195}}
{"meta": {"timestamp": 2.382, "type": "VFR_HUD"}, "data": {"throttle": 0, "groundspeed": 0.0, "airspeed": 0.0, "climb": 0.0, "alt": 0.0, "heading": 0}}
{"meta": {"timestamp": 2.382, "type": "VFR_HUD"}, "data": {"throttle": 0, "groundspeed": 0.0, "airspeed": 0.0, "climb": 0.0, "alt": 0.0, "heading": 0}}
{"meta": {"timestamp": 2.965, "type": "SCALED_PRESSURE"}, "data": {"press_diff": 0.0, "time_boot_ms": 2965, "temperature": 2449, "press_abs": 976.3900146484375}}
{"meta": {"timestamp": 3.192, "type": "ATTITUDE"}, "data": {"pitchspeed": 0.0, "yaw": 0.0, "rollspeed": 0.0, "time_boot_ms": 3192, "pitch": 0.015184364281594753, "yawspeed": 0.0, "roll": -0.05777039751410484}}
{"meta": {"timestamp": 3.192, "type": "VFR_HUD"}, "data": {"throttle": 0, "groundspeed": 0.0, "airspeed": 0.0, "climb": 0.0, "alt": 0.0, "heading": 0}}
  • orb/openlog.txt
  • Last modified: 5 years ago
  • by admin