Commit 03c88119 authored by Felix Kettner's avatar Felix Kettner

Update background.py

parent 0bb42f6c
Pipeline #34327 passed with stage
in 38 seconds
......@@ -181,12 +181,10 @@ def gripper_test(lcd):
end = False
while not end:
button = wait_for_any()
if button == c.BUTTON_LEFT:
nano.open_gripper()
break
elif button == c.BUTTON_RIGHT:
if button == c.BUTTON_RIGHT:
nano.close_gripper()
break
elif button == c.BUTTON_LEFT:
nano.open_gripper()
else:
end = True
nano.open_gripper()
......
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