From 107d98e39a0ef0f00f311b123e20dfda34532217 Mon Sep 17 00:00:00 2001 From: Donovan Baarda Date: Thu, 16 Oct 2014 02:00:05 +1100 Subject: Change noise filtering from 2mins to 60secs. --- ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp | 4 ++-- 1 file 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)) { } -- cgit v1.2.3