/Designs/ROBOTS/IRRAD01A/SW/test_delay_irrad.py |
---|
171,7 → 171,7 |
ysteps = 6 # *2 + 1 line |
space = 4 |
grid = 8 |
delay = 40 |
delay = 120 |
#Y.Move(-4) |
X.MoveWait(xcorner) |
178,6 → 178,7 |
for y in range(ysteps): |
for x in range(xsteps): |
print x, y |
Z.MoveWait(space) |
time.sleep(delay) |
Z.MoveWait(-space) |
184,8 → 185,9 |
if x < (xsteps - 1): |
X.MoveWait(grid) |
Y.MoveWait(-grid) |
delay = delay - 2.5 |
#!!!!delay = delay - 20 |
for x in range(xsteps): |
print x, y |
Z.MoveWait(space) |
time.sleep(delay) |
Z.MoveWait(-space) |
192,9 → 194,11 |
if x < (xsteps - 1): |
X.MoveWait(-grid) |
Y.MoveWait(-grid) |
delay = delay - 2.5 |
delay = delay - 20 |
delay = 20 #!!!!!!!!!!!!!! |
for x in range(xsteps): |
print x, y |
Z.MoveWait(space) |
time.sleep(delay) |
Z.MoveWait(-space) |