Documentation of dataflash log format?

739 views
Skip to first unread message

foobarbecue

unread,
May 4, 2013, 5:29:07 PM5/4/13
to drones-...@googlegroups.com
Hi all.

Is there a document somewhere that tells what each of the fields in the dataflash log represent? I know you can go to "log browse" in MissionPlanner, but I'm looking for the equivalent of https://pixhawk.ethz.ch/mavlink/

Aaron

foobarbecue

unread,
May 4, 2013, 5:38:47 PM5/4/13
to drones-...@googlegroups.com

foobarbecue

unread,
May 4, 2013, 5:40:37 PM5/4/13
to drones-...@googlegroups.com
Nope, turns out that was just parameters, not log fields. Hopefully this exists somewhere?

Aaron

Jason Short

unread,
May 4, 2013, 5:42:28 PM5/4/13
to drones-...@googlegroups.com
Best to look in Log.pde for now.
Jason





--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Andrew Tridgell

unread,
May 4, 2013, 5:50:35 PM5/4/13
to foobarbecue, drones-...@googlegroups.com
Hi Aaron,
The meaning of the format characters is in
libraries/DataFlash/DataFlash.h, like this:

/*
Format characters in the format string for binary log messages
b : int8_t
B : uint8_t
h : int16_t
H : uint16_t
i : int32_t
I : uint32_t
f : float
n : char[4]
N : char[16]
Z : char[64]
c : int16_t * 100
C : uint16_t * 100
e : int32_t * 100
E : uint32_t * 100
L : int32_t latitude/longitude
M : uint8_t flight mode
*/

The meanings of the fields is supposed to be clear from the header
fields in the FMT message, although it doesn't specify units currently.

If you'd like to create a wiki page for it and explain it in more detail
that would be great!

Cheers, Tridge

foobarbecue

unread,
May 4, 2013, 5:57:30 PM5/4/13
to drones-...@googlegroups.com
Ah, thanks, it's pretty easy to follow in there. Maybe I'll get the time to wikifiy this as per Tridge.

foobarbecue

unread,
May 5, 2013, 1:16:27 AM5/5/13
to drones-...@googlegroups.com

Randy Mackay

unread,
May 5, 2013, 1:48:01 AM5/5/13
to drones-...@googlegroups.com

     You'll find that file in your AP Mission planner directory as well.  That file is required for 2.9.1b (and earlier) versions of AC before Tridge and Michael made the dataflash logs self-describing.  So going forward we won't be maintaining that file although it's probably mostly correct at the moment.

-Randy


From: foobarbecue <fooba...@gmail.com>
To: drones-...@googlegroups.com
Sent: Sunday, May 5, 2013 2:16 PM
Subject: Re: [drones-discuss] Re: Documentation of dataflash log format?
Reply all
Reply to author
Forward
0 new messages