Skip to content

Commit

Permalink
narrower matrix Q (+100) (emuflight#556)
Browse files Browse the repository at this point in the history
helps speedup the notch calculations, less delay

Co-authored-by: Kevin Plaizier <[email protected]>
  • Loading branch information
nerdCopter and Quick-Flash authored May 9, 2021
1 parent 117987e commit 0f54e87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/sensors/gyro.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ PG_RESET_TEMPLATE(gyroConfig_t, gyroConfig,
.checkOverflow = GYRO_OVERFLOW_CHECK_ALL_AXES,
.yaw_spin_recovery = true,
.yaw_spin_threshold = 1950,
.dyn_notch_q_factor = 300,
.dyn_notch_q_factor = 400,
.dyn_notch_min_hz = 150,
.dyn_notch_max_hz = 600,
.imuf_mode = GTBCM_GYRO_ACC_FILTER_F,
Expand Down Expand Up @@ -295,7 +295,7 @@ PG_RESET_TEMPLATE(gyroConfig_t, gyroConfig,
.gyro_offset_yaw = 0,
.yaw_spin_recovery = true,
.yaw_spin_threshold = 1950,
.dyn_notch_q_factor = 250,
.dyn_notch_q_factor = 350,
.dyn_notch_min_hz = 150,
.dyn_notch_max_hz = 600,
.gyro_ABG_alpha = 0,
Expand Down

0 comments on commit 0f54e87

Please sign in to comment.