| Crates.io | bbl_parser |
| lib.rs | bbl_parser |
| version | 1.0.0 |
| created_at | 2025-12-30 19:14:30.655221+00 |
| updated_at | 2025-12-30 19:14:30.655221+00 |
| description | Parser for Betaflight/EmuFlight/INAV blackbox log files |
| homepage | |
| repository | |
| max_upload_size | |
| id | 2013164 |
| size | 376,374 |
A fast, pure-Rust Blackbox Log parser primarily used as a command-line tool, with an optional Rust crate API.
Supports .BBL, .BFL, .TXT (case-insensitive) across Betaflight, EmuFlight, and INAV.
BBL Parser reads flight controller blackbox logs and provides a command-line interface to export CSV, GPX, and event data.
A Rust crate API is also available for programmatic access -- see CRATE_USAGE.md.
The CSV export matches blackbox-tools field order and naming, and decoding includes full P-frame predictor logic.
# Build once
cargo build --release
# Analyze a file (console stats only)
./target/release/bbl_parser flight.BBL
# Export CSV / GPX / Events
./target/release/bbl_parser --csv --gpx --event logs/*.BBL
# Useful options
./target/release/bbl_parser logs/*.BBL --output-dir ./output
./target/release/bbl_parser --force-export logs/*.BBL
[.XX].csv and headers [.XX].headers.csv (field order matches blackbox_decode; time column is "time (us)")[.XX].gps.gpx[.XX].event (CLI)Filenames are clean for single-log files and numbered for multi-log files (e.g., .01.csv, .02.csv).
To reduce noise from test arm/disarm logs:
15s: exported
Use --force-export to export everything.
Dual-licensed:
Inspired by Betaflight's blackbox-log-viewer and blackbox-tools.