ardupilot-binlog 0.2.0

Parser for ArduPilot DataFlash BIN log files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[derive(Debug, thiserror::Error)]
pub enum BinlogError {
    #[error("I/O error: {0}")]
    Io(#[from] std::io::Error),

    #[error("invalid format character: {0}")]
    InvalidFormat(char),

    #[error("no FMT definition for message type {0}")]
    UnknownType(u8),

    #[error("unexpected end of data")]
    UnexpectedEof,

    #[error("payload too short for field type")]
    PayloadTooShort,
}