diabled auto-enable

This commit is contained in:
Björn Ellensohn 2023-08-16 09:24:43 +02:00
parent e74409a6f7
commit 9ae699bce2

View File

@ -99,6 +99,7 @@ class StateMachineNode(Node):
# This method shall only update the latest_cmd_vel attribute so it can be republished by the timer_callback with 100 HZ. Should have a look at performance though. # This method shall only update the latest_cmd_vel attribute so it can be republished by the timer_callback with 100 HZ. Should have a look at performance though.
self.latest_cmd_vel = msg self.latest_cmd_vel = msg
self.timeout = 10.0 # Reset timeout when receiving commands
# TODO: Add setting chassis state to enabled automatically upon receiving commands (with filter maybe) # TODO: Add setting chassis state to enabled automatically upon receiving commands (with filter maybe)
def timer_callback(self): def timer_callback(self):