From 7168feee6e9b14895b53038cff32f93536569d2d Mon Sep 17 00:00:00 2001 From: Mike Cifelli Date: Fri, 27 Oct 2023 18:02:59 -0400 Subject: [PATCH] Adjust distance buffering --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index c175332..da47a14 100644 --- a/main.py +++ b/main.py @@ -80,7 +80,7 @@ class Marshaller(Server): def get_buffered_distance_in_inches(self): distance = self.get_distance_in_inches() - if abs(distance - self.last_value) > 0.25: + if abs(distance - self.last_value) > 0.5: self.last_value = distance return self.last_value