Crates.io | blackbox-log |
lib.rs | blackbox-log |
version | 0.4.2 |
source | src |
created_at | 2022-12-14 00:30:55.399113 |
updated_at | 2024-04-28 21:27:11.329482 |
description | Ergonomic parser for BetaFlight blackbox logs |
homepage | |
repository | https://github.com/blackbox-log/blackbox-log |
max_upload_size | |
id | 736230 |
size | 265,827 |
blackbox-log
This is a Rust port of Betaflight's & INAV's blackbox tools. Check the GitHub organization for related projects. Or, read the docs to get started.
Note:
blackbox-log
is not quite ready for production use yet -- consider it early-mid beta quality.
There are two official parser implementations, each with a copy maintained by Betaflight and one by INAV, so why another?
Neither is all that great for building other software with:
blackbox_decode
(BF, INAV) has missed some of
the changes in the format in the last few years, so its output is no longer
entirely correct. Additionally, it decodes and writes everything to disk,
so you pay for data your application may not need.This project aims to fill that niche. An ergonomic, up-to-date API usable anywhere that supports Rust or WebAssembly.
All contributions are welcome. Testing and bug reports are greatly appreciated. If at all possible, please include a log file exhibiting the bug. If you've got any other questions or ideas, feel free to start a discussion.
If you're looking to contribute code or log files, see the help wanted and needs logs tags.
Most development tasks are run using just
.
Run just
in the project root to get a list of available tasks. If modifying
the yaml files in types/
, make sure to commit the result of just codegen
.
There are 2 devcontainers set up with all necessary development tools. Default
will build the container from scratch, while Default (prebuilt)
will download
a prebuilt container and will likely be faster to start.
Note: At least 4 cores and 4GiB of RAM is recommended.
blackbox_decode
(Betaflight, INAV)src/main/blackbox/
fc-blackbox
written by Ilya EpifanovMany thanks to Nicholas Sherlock for his original logging implementation and to the Cleanflight project (which Betaflight & INAV are forked from) for integrating it (https://github.com/cleanflight/cleanflight/pull/227).
Licensed under either of
at your option.