Commit 29d90ab4 authored by Cédric Bonhomme's avatar Cédric Bonhomme

slow rotations

parent d338d028
......@@ -97,10 +97,12 @@ def move(direction="forward", speed=800):
right_wheel.run_forever(speed * -1, regulation_mode=False)
elif direction == 'left':
speed = 600
left_wheel.run_forever(speed, regulation_mode=False)
right_wheel.run_forever(speed * -1, regulation_mode=False)
elif direction == 'right':
speed = 600
left_wheel.run_forever(speed * -1, regulation_mode=False)
right_wheel.run_forever(speed, regulation_mode=False)
......
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