diff options
-rw-r--r-- | ftnoir_filter_accela/ftnoir_filter_accela.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.h b/ftnoir_filter_accela/ftnoir_filter_accela.h index 56abf561..a7821516 100644 --- a/ftnoir_filter_accela/ftnoir_filter_accela.h +++ b/ftnoir_filter_accela/ftnoir_filter_accela.h @@ -49,11 +49,11 @@ private: static constexpr double Hz = 3./1000; // moving average history static constexpr double fast_alpha_seconds = 0.6; - // max degrees considered "slow" after alpha - static constexpr double max_slow_delta = 0.55; + // max degrees considered "slow" after moving average + static constexpr double max_slow_delta = 0.9; // if set to zero, never decreases response above, can also slow // down due to fast_alpha - static constexpr double damping = 0.05; + static constexpr double damping = 0.; settings s; bool first_run; double last_output[6]; |