From 98fe294130df2ce6b8daedd6028ac245b8314713 Mon Sep 17 00:00:00 2001 From: Prohurtz <48768484+RedHawk989@users.noreply.github.com> Date: Sat, 3 Jun 2023 15:08:58 -0700 Subject: [PATCH] fix one euro filter --- BabbleApp/babble_model_loader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BabbleApp/babble_model_loader.py b/BabbleApp/babble_model_loader.py index 9643222..4000894 100644 --- a/BabbleApp/babble_model_loader.py +++ b/BabbleApp/babble_model_loader.py @@ -17,8 +17,8 @@ def run_model(self): - min_cutoff = 15.5004 - beta = 0.62 + min_cutoff = self.config.gui_min_cutoff #15.5004 + beta = self.config.gui_speed_coefficient #0.62 noisy_point = np.array([45]) filter = OneEuroFilter( noisy_point,