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
ef83c78200
commit
0e968bb165
@ -63,8 +63,8 @@ class StateMachineNode(Node):
|
|||||||
# Handle the incoming chassis status message, will update every second
|
# Handle the incoming chassis status message, will update every second
|
||||||
# Need to figure out the type
|
# Need to figure out the type
|
||||||
self.get_logger().info('Got chassis_mode from chassis_mode_fb topic')
|
self.get_logger().info('Got chassis_mode from chassis_mode_fb topic')
|
||||||
self.get_logger().info(msg.chassis_mode)
|
self.get_logger().info(str(msg.chassis_mode))
|
||||||
|
|
||||||
if msg.chassis_mode == 0:
|
if msg.chassis_mode == 0:
|
||||||
self.chassis_mode = State.DISABLED
|
self.chassis_mode = State.DISABLED
|
||||||
self.state = State.DISABLED
|
self.state = State.DISABLED
|
||||||
|
Loading…
Reference in New Issue
Block a user