master
Sebastien Bourdeauducq 2020-08-16 17:45:57 +08:00
parent 8fcec4b17c
commit c499090cdb
1 changed files with 1 additions and 1 deletions

2
dmi.py
View File

@ -55,7 +55,7 @@ def main():
if stabilizer.locked():
position = position_tracker.input(samples_ref, samples_meas)
position_acc += np.sum(position)/len(position)
position_acc += np.mean(position)
if throttle == 0:
gui.update_position(position_acc/throttle_factor)
position_acc = 0.0