py_trees
py_trees copied to clipboard
Improve timing of tick_tock() and allow stopping on terminal state
This PR does a few improvements to the BehaviourTree.tick_tock()
implementation:
- Changes the
time.sleep()
to more accurately account for the tick time. - Adds a new
stop_on_terminal_state
option that will stop ticking once the tree leaves aRUNNING
state.