Commit c6ff0e86 authored by Mihir Garimella's avatar Mihir Garimella
Browse files

Bugfix

parent e50a9e41
......@@ -121,6 +121,7 @@ class WingMotion:
output = self.pid.update(self.sensor.get_degrees())
self.motor.set_speed(output)
else:
self.pid.clear()
self.motor.set_speed(0.0) # turn off!
def setPosition(self, position):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment