py_trees
py_trees copied to clipboard
Python implementation of behaviour trees.
The basic Blackboard demo currently does not work. When running py_trees.display.render_dot_tree(root, with_blackboard_variables=True) I get the following error: File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/py_trees/display.py", line 649, in render_dot_tree graph = dot_tree( File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/py_trees/display.py", line 602,...
Calling `replace_child` will call `remove_child` which will set the `current_child` to None. This will cause an assertation error next time the Sequence ticks, when it asserts that the current child...
Hi @stonier , Why are all the logs in your Logger class handled with print and not by the logging module? I see you comment at the beggining of logging.py,...
When trying to launch the blackboard tutorial here: https://py-trees-ros-tutorials.readthedocs.io/en/release-2.1.x/tutorials.html If you try: py-trees-blackboard-watcher You get : ERROR: service not found [type: py_trees_ros_interfaces/srv/GetBlackboardVariables] However if you try any of the other...
Hello everyone, I have to evolve an FSM behavior model into BT on an already existent architecture that uses ROS1 for interaction and navigation on Pepper robot. Now I have...
**Looking For** A description of your use case for visualizing py_trees. * Describe for what purpose you need it * Tease out some key technical requirements * Differentiate between MVP...
I've been looking for a good, idiomatic way to use behaviors as isolated functions that take input, and produce output. While exploring BehaviourTree.CPP, I found that its port functionality [ports...
py_trees uses a blackboard as a centralized way for behaviors to interact with each other and retrieve global state information. While the approach and implementation are nice, assuming a blackboard...
Hi, I am running ROS2 Foxy in a docker image and running a tree file in the host machine with ROS2 Humble, the viewer can find the /tree channel but...
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...