diff --git a/script/local.py b/script/local.py index b91b18c..a59ff90 100644 --- a/script/local.py +++ b/script/local.py @@ -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: