Script execution

This commit is contained in:
gac-S_Changer
2017-01-26 11:16:22 +01:00
parent 4b32f566c8
commit f9a0f91497

View File

@@ -41,7 +41,7 @@ class RobotModbus(DeviceBase):
raise Exception("Ongoing command")
if robot_ack.read() != 0:
raise Exception("Robot is not ready")
robot_cmd.write(cmd)
robot_cmd.write(command)
args = [0,0,0,0,0,0]
index = 0
for arg in argv: