iNavFlight/blackbox-tools

feature request: add debug variables to blackbox_decode

bw1129 opened this issue · 4 comments

Hi. Currently blackbox decode for inav does not export debug variables as far as I can tell. It'd be great to add this.
cheers! -Brian (PIDtoolbox) https://github.com/bw1129/PIDtoolbox

This is already supported by the Makefile if you need it (and is documented therein).

make DEBUG=GDB
...
file obj/blackbox_decode
obj/blackbox_decode: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.4.0, with debug_info, not stripped
...

I have a number of 3rd party logs here with debug_mode != 0. In each case, debug[n] columns exist in the log.

I've just created (a bench test) log with H debug_mode:1 (aka GYRO). The log contains the debug[n] columns
What am I missing here?

ah geez, I see what I did now. my bad. So sorry bout the confusion. thx guys