Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. for i in range(0, steps):
  2.     driveLeft(1,0,1,0)
  3.     driveRight(0,1,0,1)
  4.     time.sleep(delay)
  5.     driveLeft(0,1,1,0)
  6.     driveRight(1,0,0,1)
  7.     time.sleep(delay)
  8.     driveLeft(0,1,0,1)
  9.     driveRight(1,0,1,0)
  10.     time.sleep(delay)
  11.     driveLeft(1,0,0,1)
  12.     driveRight(0,1,1,0)
  13.     time.sleep(delay)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement