Expand description
ArduPilot DataFlash logs (.bin).
A DataFlash log describes its own messages: each FMT record gives a message
type’s id, length, name, format characters and field labels; every other record is
A3 95, its type’s id, and its fields packed end to end. One pass records where
each type’s records start (crate::indexed) and reads the units and multipliers
of FMTU, UNIT and MULT when the log has them; each type is then a table
decoded from a map of the file, its columns typed by their format characters.
Every length is bounded: a record by its type’s length and the file’s end. A byte
that does not start a record is passed over to the next A3 95 and counted.
Structs§
- Index
- What one pass over a DataFlash log found.
- Message
Type - One message type, as its
FMTrecord defines it.
Enums§
- Open
- What opening a DataFlash log finds.
Functions§
- columns
- The columns of a message type, and each one’s unit.
- detail
- What the Info panel’s DataFlash tab says.
- index
- Index the DataFlash log in
data: one pass, start to end. - indexed
- The index of the DataFlash log at
path, made by one pass or kept from one. - listed
- The log’s tables as its indexing pass found them: listed once it has been opened, and not read here, where the home screen waits.
- looks_
like - Whether
head, the first bytes of a file, begins a DataFlash log: anFMTrecord that definesFMTitself. - notes
- What the Notes tab says of the pass.
- open
- Open the DataFlash log at
path: the tablewantednames, its one table, or the list. - tables
- The tables of an indexed log, for the home screen and
--table.