# Binary File format

**URL:** <https://discuss.bluerobotics.com/t/binary-file-format/1942>\
**Category:** QGroundControl\
**Created:** [January 3, 2018, 3:24am UTC](https://discuss.bluerobotics.com/t/binary-file-format/1942 "2018-01-03T03:24:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BigAl](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@BigAl](https://discuss.bluerobotics.com/u/BigAl)\
**Post date:** [January 3, 2018, 3:24am UTC](https://discuss.bluerobotics.com/t/binary-file-format/1942/1 "2018-01-03T03:24:22Z")

</div>

Hello,

Were can I find the documentation on the binary file format that can be downloaded from the sub in QGroundControl.

I would like to access the raw data from each mission in particular the 9-axis accelerometer data to see if I can get a reasonable INS solution from it.

Regards,

Alan

---

<div class="post-metadata">

**Author:** ![jwalser](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/jwalser/32/2234_2.png) [@jwalser](https://discuss.bluerobotics.com/u/jwalser)\
**Post date:** [January 3, 2018, 4:13am UTC](https://discuss.bluerobotics.com/t/binary-file-format/1942/2 "2018-01-03T04:13:59Z")

</div>

Unfortunately, I don’t think the format is documented anywhere. You can use [mavlogdump.py](https://github.com/mavlink/pymavlink/blob/master/tools/mavlogdump.py) to export the data to csv or m files and [MAVExplorer.py](https://github.com/ArduPilot/MAVProxy/blob/master/MAVProxy/tools/MAVExplorer.py) to plot the data. These programs are included in a [Mavproxy](http://ardupilot.github.io/MAVProxy/html/index.html) installation.

The source code for the log format is [here](https://github.com/ArduPilot/ardupilot/blob/master/libraries/DataFlash/LogStructure.h).

---

<div class="post-metadata">

**Author:** ![BigAl](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@BigAl](https://discuss.bluerobotics.com/u/BigAl)\
**Post date:** [January 3, 2018, 4:42am UTC](https://discuss.bluerobotics.com/t/binary-file-format/1942/3 "2018-01-03T04:42:12Z")

</div>

Thanks Jacob,

I’ll have a crack at decoding the bin file with the source you provided.  
I will repost my code if I get a decoder working
