Advertisement
darthgustav

undock.lua

Feb 20th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. -- Undock
  2. local robot = require("robot")
  3.  
  4. -- Facing Waypoint
  5. robot.turnRight()
  6.  
  7. --Move to Waypoint
  8. for i = 1,5,1
  9. do
  10. robot.forward()
  11. end
  12.  
  13. -- Return Facing to PYMTEK Lab
  14. robot.turnLeft()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement