mirror of
https://github.com/bjoernellens1/rmp220_middleware.git
synced 2024-11-22 07:43:48 +00:00
diabled auto-enable
This commit is contained in:
parent
e74409a6f7
commit
9ae699bce2
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user