px4-firmware/Tools
Stefan Rado 49cc0bd162 Explicitly treat all files as UTF-8. 2014-02-16 01:51:37 +01:00
..
px4params Explicitly treat all files as UTF-8. 2014-02-16 01:51:37 +01:00
tests-host Missing line break at EOF 2014-01-02 09:49:43 +01:00
README.txt Added Python 2 / 3 Windows / Linux / Mac OS converter script. So much for cross-platform / version agnostic 2013-08-12 23:50:29 +02:00
fix_code_style.sh Fresh import of the PX4 firmware sources. 2012-08-04 15:12:36 -07:00
fix_code_style_ubuntu.sh Reformat of math library with astyle. 2013-01-06 15:33:55 -05:00
fsm_visualisation.py FSM visualisation script: cope with prefixed state names 2014-01-28 12:31:23 +01:00
logconv.m Minor fixes to log conversion scripts 2013-08-13 08:50:40 +02:00
mavlink_px4.py Hotfix: general MAVLink update, including file transfer 2012-12-01 02:13:49 +01:00
px_mkfw.py Make px_mkfw.py and px_upload.py compatible with both python 2.7 and 3.3 2013-08-23 13:37:58 +02:00
px_uploader.py Update upload script from bootloader repo 2014-02-09 18:34:54 +01:00
sdlog2_dump.py sdlog2_dump.py: C strings parsing fixed 2013-10-23 18:57:44 +02:00

README.txt

====== PX4 LOG CONVERSION ======

On each log session (commonly started and stopped by arming and disarming the vehicle) a new file logxxx.bin is created. In many cases there will be only one logfile named log001.bin (only one flight).

There are two conversion scripts in this ZIP file:

logconv.m: This is a MATLAB script which will automatically convert and display the flight data with a GUI. If running this script, the second script can be ignored.

sdlog2_dump.py: This is a Python script (compatible with v2 and v3) which converts the self-describing binary log format to a CSV file. To export a CSV file from within a shell (Windows CMD or BASH on Linux / Mac OS), run:

python sdlog2_dump.py log001.bin -f "export.csv" -t "TIME" -d "," -n ""

Python can be downloaded from http://python.org, but is available as default on Mac OS and Linux.