Skip to content

Commit

Permalink
BBL headers for ABG (emuflight#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter authored Apr 26, 2021
1 parent 96f51c6 commit 1faf22f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/blackbox/blackbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -1174,6 +1174,9 @@ static bool blackboxWriteSysinfo(void) {
BLACKBOX_PRINT_HEADER_LINE("dterm_lowpass2_hz_roll", "%d", currentPidProfile->dFilter[ROLL].dLpf2);
BLACKBOX_PRINT_HEADER_LINE("dterm_lowpass2_hz_pitch", "%d", currentPidProfile->dFilter[PITCH].dLpf2);
BLACKBOX_PRINT_HEADER_LINE("dterm_lowpass2_hz_yaw", "%d", currentPidProfile->dFilter[YAW].dLpf2);
BLACKBOX_PRINT_HEADER_LINE("dterm_ABG_alpha", "%d", currentPidProfile->dterm_ABG_alpha);
BLACKBOX_PRINT_HEADER_LINE("dterm_ABG_boost", "%d", currentPidProfile->dterm_ABG_boost);
BLACKBOX_PRINT_HEADER_LINE("dterm_ABG_half_life", "%d", currentPidProfile->dterm_ABG_half_life);
BLACKBOX_PRINT_HEADER_LINE("witchcraft_roll", "%d", currentPidProfile->dFilter[ROLL].Wc);
BLACKBOX_PRINT_HEADER_LINE("witchcraft_pitch", "%d", currentPidProfile->dFilter[PITCH].Wc);
BLACKBOX_PRINT_HEADER_LINE("witchcraft_yaw", "%d", currentPidProfile->dFilter[YAW].Wc);
Expand Down Expand Up @@ -1233,6 +1236,9 @@ static bool blackboxWriteSysinfo(void) {
BLACKBOX_PRINT_HEADER_LINE("dynamic_gyro_notch_min_hz", "%d", gyroConfig()->dyn_notch_min_hz);
BLACKBOX_PRINT_HEADER_LINE("dynamic_gyro_notch_max_hz", "%d", gyroConfig()->dyn_notch_max_hz);
#endif
BLACKBOX_PRINT_HEADER_LINE("gyro_ABG_alpha", "%d", gyroConfig()->gyro_ABG_alpha);
BLACKBOX_PRINT_HEADER_LINE("gyro_ABG_boost", "%d", gyroConfig()->gyro_ABG_boost);
BLACKBOX_PRINT_HEADER_LINE("gyro_ABG_half_life", "%d", gyroConfig()->gyro_ABG_half_life);
#if defined(USE_ACC)
BLACKBOX_PRINT_HEADER_LINE("acc_lpf_hz", "%d", (int)(accelerometerConfig()->acc_lpf_hz * 100.0f));
BLACKBOX_PRINT_HEADER_LINE("acc_hardware", "%d", accelerometerConfig()->acc_hardware);
Expand Down

0 comments on commit 1faf22f

Please sign in to comment.