changes in operation: testing

This commit is contained in:
Björn Ellensohn 2023-08-22 10:12:32 +02:00
parent 836ce994b3
commit d8800f94dc

View File

@ -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