py_trees icon indicating copy to clipboard operation
py_trees copied to clipboard

Improve timing of tick_tock() and allow stopping on terminal state

Open sea-bass opened this issue 9 months ago • 0 comments

This PR does a few improvements to the BehaviourTree.tick_tock() implementation:

  1. Changes the time.sleep() to more accurately account for the tick time.
  2. Adds a new stop_on_terminal_state option that will stop ticking once the tree leaves a RUNNING state.

sea-bass avatar May 23 '24 22:05 sea-bass