You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: complete Rust crate library API with comprehensive examples
Add full library crate functionality:
- Complete public API with BBLLog, BBLHeader, DecodedFrame data structures
- Universal multi-firmware support (Betaflight, EmuFlight, iNav)
- Memory-efficient parsing with parse_bbl_file and parse_bbl_bytes functions
- Multi-log file processing with parse_bbl_file_all_logs
- Comprehensive PID extraction with feedforward support across all firmware types
- Standard cargo examples directory with interactive demonstration tool
- Optional feature flags: csv, json, serde, cli
- Export functionality for CSV, GPS, and event data
- Enhanced error handling and type conversion utilities
Features:
- Universal PID parsing supporting both 3-value (P,I,D) and 4-value (P,I,D,FF) formats
- Automatic firmware detection and format adaptation
- Smart feedforward extraction from Betaflight ff_weight and iNav PID formats
- Complete in-memory data access for 3rd party integration
- Standard Rust project structure following cargo conventions
Copy file name to clipboardExpand all lines: OVERVIEW.md
+24-6Lines changed: 24 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,15 @@
9
9
10
10
## 🎯 **Project Summary**
11
11
12
-
A comprehensive Rust implementation of BBL (Blackbox Log) parser designed for flight controller blackbox data analysis. This is development software focused on creating a pure Rust implementation without external dependencies.
12
+
A comprehensive Rust library and command-line tool for BBL (Blackbox Log) parsing designed for flight controller blackbox data analysis. This is development software focused on creating a pure Rust implementation without external dependencies.
13
13
14
-
**Core Goal:** Create a reliable BBL parser that can handle various file formats and firmware types while maintaining memory efficiency.
14
+
**Core Goal:** Create a reliable BBL parser that can handle various file formats and firmware types while maintaining memory efficiency and providing both CLI and library API access.
15
15
16
16
### **Current Capabilities**
17
17
-**BBL Format Support:** Parses .BBL, .BFL, .TXT files from multiple firmware sources
18
18
-**Frame Processing:** Supports I, P, S, H, G, E frames with proper encoding handling
19
19
-**Export Functions:** CSV, GPX, and event data export capabilities
20
+
-**Library API:** Complete programmatic access to BBL data structures in memory
20
21
-**Memory Efficiency:** Streaming architecture for large file processing
21
22
-**Zero Dependencies:** Pure Rust implementation without external blackbox_decode tools
22
23
@@ -39,6 +40,8 @@ A comprehensive Rust implementation of BBL (Blackbox Log) parser designed for fl
39
40
|**GPS Export**| ✅ Functional | GPX format generation |
40
41
|**Event Export**| ✅ Functional | JSONL format with Betaflight event types |
0 commit comments