Zeroing rotary encoder motor steps fix
This commit is contained in:
@@ -236,6 +236,8 @@ class GalilMotor(object):
|
||||
self.accel = max(1, abs(int(arg)))
|
||||
elif cmd == "DC":
|
||||
self.decel = max(1, abs(int(arg)))
|
||||
elif cmd == "DP":
|
||||
self.currentSteps = int(arg)
|
||||
else:
|
||||
print "Unknown assignment", cmd, arg
|
||||
|
||||
|
||||
Reference in New Issue
Block a user