ES-Alexander / ES-Alexander/data-alignment
[Feature Request] Support DataFlash (`.bin`) telemetry logs
- Dominant language
- Python
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
Current telemetry extraction only supports `.tlog` files, but [DataFlash `.bin`](https://www.ardusub.com/reference/data-logging.html#dataflash-logs) files are more consistently collected (since they're in the flight controller), and have potentially faster data rates which `.tlog`s don't have access to. May include data after losing connection to the operator, and can potentially be used for slightly more accurate accelerometer integration (for very rough positioning estimates).
**Describe the solution you'd like**
- [ ] support telemetry extraction from `.bin` to `.csv`, like [existing `.tlog` support](https://github.com/ES-Alexander/data-alignment/blob/main/telemetry/mavlogparse.py)
- [ ] should feed in to the existing `.csv` to `DataFrame` pipeline/process
- [ ] ideally should form part of a broader abstraction around information types instead of users needing to know specific internals of the log file formats they're using
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
| alternative | reason(s) why unsuitable |
|---|---|
| only use `.tlog` files instead | ok-ish, but lower data rates, and not always available |
| use [`mavlogdump`](https://github.com/ArduPilot/pymavlink/blob/master/tools/mavlogdump.py) for extraction instead | code is hard to understand, output isn't great for processing |
**Additional context**
- [ArduCopter DataFlash messages](https://ardupilot.org/copter/docs/common-downloading-and-analyzing-data-logs-in-mission-planner.html#message-details-copter-specific)
- [ArduSub DataFlash messages](https://docs.bluerobotics.com/ardusub-zola/software/autopilot/ArduSub-4.1/developers/log-messages/)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.