From 2e4b3a9ba4f52d51810eb1546038eeb53db3c755 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,