Skip to content

Commit

Permalink
Removed wrong velocity set to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
wiltomdus authored Nov 2, 2022
1 parent 7954147 commit e5dc986
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions flightManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5dc986

Please sign in to comment.