mirror of
https://github.com/bjoernellens1/rmp220_middleware.git
synced 2024-11-21 23:43:46 +00:00
changes in operation: testing
This commit is contained in:
parent
f588a72960
commit
1104c8024c
@ -65,6 +65,9 @@ class StateMachineNode(Node):
|
||||
self.get_logger().info('Got chassis_mode from chassis_mode_fb topic')
|
||||
self.get_logger().info(str(msg.chassis_mode))
|
||||
|
||||
if self.state == State.PAUSED:
|
||||
return
|
||||
else:
|
||||
if msg.chassis_mode == 0:
|
||||
self.chassis_mode = State.DISABLED
|
||||
self.state = State.DISABLED
|
||||
|
Loading…
Reference in New Issue
Block a user