feature request: add debug variables to blackbox_decode
bw1129 opened this issue · 4 comments
bw1129 commented
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
stronnag commented
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
...
bw1129 commented
I think you’re referring to debugging the program. I’m talking about the variable that contains prefiltered gyro data or any other blackbox log debug data you want to look at. It’s not being parsed out into the extracted csv file.
stronnag commented
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?
bw1129 commented
ah geez, I see what I did now. my bad. So sorry bout the confusion. thx guys