Script execution

This commit is contained in:
boccioli_m
2015-06-18 08:00:11 +02:00
parent e9f266851e
commit ca3f41171f

View File

@@ -126,7 +126,7 @@ for setpoint1 in range(0, loopTimes):
direction = -1.0
print 'End of span, changing direction to ' + str(direction)
break
if endL>0.0 or ( direction < 0.0 and setpoint2 <= start+1 ):
if endL>0.0 or ( direction < 0.0 and setpoint2 <= end+1 ):
#invert direction and swap start with end of translation
end = endDefault
start = setpoint2 - direction