From e5dc986401d9cae138f6f0398ae8f3390082c8df Mon Sep 17 00:00:00 2001 From: Dhenki <42845952+wiltomdus@users.noreply.github.com> Date: Wed, 2 Nov 2022 09:32:49 -0400 Subject: [PATCH] Removed wrong velocity set to 0 --- flightManager.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/flightManager.py b/flightManager.py index a33f6d1..04aa161 100644 --- a/flightManager.py +++ b/flightManager.py @@ -176,9 +176,6 @@ def get_velocity(self, dt) -> tuple: accel_x_filtered = 0.0 accel_y_filtered = 0.0 accel_z_filtered = 0.0 - velocity_x: float = 0.0 - velocity_y: float = 0.0 - velocity_z: float = 0.0 S = 0.75 # filter/smoothing factor # Filter accleleration data