diff --git a/rmp220_middleware/rmp220_middleware.py b/rmp220_middleware/rmp220_middleware.py index 1702b09..b932b78 100644 --- a/rmp220_middleware/rmp220_middleware.py +++ b/rmp220_middleware/rmp220_middleware.py @@ -68,7 +68,7 @@ class StateMachineNode(Node): if msg.chassis_mode == 0: self.chassis_mode = State.DISABLED self.state = State.DISABLED - self.get_logger().info('Set chassis_mode to DISABLED') + self.get_logger().info('Set chassis_mode to' + str(self.state)) if msg.chassis_mode == 1: # Assuming 1 represents enabled and 0 represents disabled self.chassis_mode = State.ENABLED self.state = State.ENABLED