Commit 64d4261b authored by Matthew Gall's avatar Matthew Gall

More small routing changes in webbot.py

parent aef684a5
......@@ -39,12 +39,14 @@ def action_right():
return "RIGHT TURN"
@route('/forward')
@route('/forwards')
def action_forward():
robot.forward()
time.sleep(0.2)
robot.stop()
return "FORWARDS"
@route('/back')
@route('/backward')
def action_back():
robot.backward()
......
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