mirror of
https://github.com/bjoernellens1/rmp220_middleware.git
synced 2024-11-24 16:45:07 +00:00
changes in operation: testing
This commit is contained in:
parent
836ce994b3
commit
d8800f94dc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user