From a6dff4d0e13408a315c013995266e7326ba299bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Tue, 22 Aug 2023 10:15:58 +0200 Subject: [PATCH] changes in operation: testing --- rmp220_middleware/rmp220_middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmp220_middleware/rmp220_middleware.py b/rmp220_middleware/rmp220_middleware.py index b932b78..0983eef 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' + str(self.state)) + self.get_logger().info('Set chassis_mode to' + str(self.state.value)) if msg.chassis_mode == 1: # Assuming 1 represents enabled and 0 represents disabled self.chassis_mode = State.ENABLED self.state = State.ENABLED