blackbox-tools
blackbox-tools copied to clipboard
feature request: Log start timestamp to output filename (logged by iNav 1.8+)
I have attempted here: https://github.com/jelinj8/blackbox-tools/commit/f2e005d740ebeb92fc4f78c3faa9f4a4f7749d31 but that just prints the date to stderr.
suggestions:
- Naming output files
- fixed GPX output timestamps
- optional timestamp column in output (e.g. for DashWare telemetry rendering)
My C++ is too rusty for that.
Header lines look like this:
H Firmware revision:INAV 1.9.1 (03a5c1922) MATEKF405
H Firmware date:Apr 21 2018 13:25:29
H Log start datetime:2018-05-04T18:17:08.376+00:00
Trouble is that the filenames (and files) are created before parsing the log. Probably renaming (replacing a placeholder) the files before memfreeing the filenames would be the simplest solution?