Binary DataFlash Log inside. How to parse it in my own program?

I want to parse Binary DataFlash Log by myself to create my own BinaryLog Viewer application. And the problem is I can’t understand the format of binary log file, how the data is written into file, in what order, etc.

Especially I need to know how can I get a list of values of specific parameter. Where can I find the information about it? Or how can I contact with Michael Oborne?

I’ve downloaded MissionPlanner Project from github and opened it. Also I’ve read a piece of code LogBrowse.cs, but still can’t understand the inner format of bin log file.

@peterbarker might have some tips

How could I contact him? Sorry, I’m a newbee on this forum, didn’t find any button to write a direct message to user.

I tagged him so he should get an email notification of the post (although I’m sure he gets many).

Regards,

James

1 Like

I want to parse Binary DataFlash Log by myself to create my own BinaryLog
Viewer application. And the problem is I can¢t understand the format of
binary log file, how the data is written into file, in what order, etc.

There are several implementations.

In Python:

In
C++:ardupilot/Tools/Replay/DataFlashFileReader.cpp at master · ArduPilot/ardupilot · GitHub

Especially I need to know how can I get a list of values of specific

The log file is self-describing. AutoPilot parameter information is
described elsewhere (the ArduPilot Wiki, for example).

Peter

1 Like

Thanks, Peter! I will look into it.