Advertisement
darthgustav

machineworkreturn.lua

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