Script execution
This commit is contained in:
1 parent
c55c428b14
commit
4ae4e296b1
1 file changed
+1
-1
@@ -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 readback2 >= start:
|
||||
if endL>0.0 or readback2 <= start:
|
||||
#invert direction and swap start with end of translation
|
||||
end = endDefault
|
||||
start = readback2 - direction
|
||||
|
||||
Reference in new issue
Block a user