diff options
author | Donovan Baarda <abo@minkirri.apana.org.au> | 2014-10-16 02:00:05 +1100 |
---|---|---|
committer | Donovan Baarda <abo@minkirri.apana.org.au> | 2014-10-16 02:00:05 +1100 |
commit | 107d98e39a0ef0f00f311b123e20dfda34532217 (patch) | |
tree | 8e3141d601923d7ec6196451ca09b77c47d9173b | |
parent | 43d30a7bdd83e2b589b7ea1b2fe8372103c72df8 (diff) |
Change noise filtering from 2mins to 60secs.
-rw-r--r-- | ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp index 58c6c6ac..08f339a3 100644 --- a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp +++ b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp @@ -30,8 +30,8 @@ FTNoIR_Filter::FTNoIR_Filter() : // TODO(abo): Change this to use a dynamic dt using a timer. // Deltas are smoothed over the last 1/60sec (16ms). delta_smoothing(0.003/(0.003 + 0.016)), - // Noise is smoothed over the last 2mins. - noise_smoothing(0.003/(0.003 + 120.0)) + // Noise is smoothed over the last 60sec. + noise_smoothing(0.003/(0.003 + 60.0)) { } |