D = our half (width-wise)of the arena
d = D/2
L = entire length of arena
autodrive(D, BEHIND, 127)
//** = add wait statement
autobasket(LIFT,127)
**
autobasket(DOWN, 127)
autodrive(d, FORWARD, 127)
**
autoturn(90deg, LEFT)
**
autodreeder(INTAKE, 127)
autodrive(~L/3, FORWARD, 127)
**
autodreeder(OFF, 0)
autodrive(~L/6, BEHIND, 127)
**
autoturn(90deg, RIGHT)
**
autodrive(~d, BEHIND, 127)
**
autobasket(LIFT, 127)
**
autobasket(DOWN, 127)
task complete
No comments:
Post a Comment