example_behaviour_agent is a basic implementation to get anyone started using behaviour trees (py trees).
The following packages are required (see install below). You can visit this to get more information:
The following packages allow for some extra materials to assit with understanding the process (on top of ros_trees)
- ros_trees_qcr: These are QCR specific leaves/branches that may be of use in your application
- ros_trees_examples: These are examples that can assist with the process
example_behaviour_agent can be installed with the following commands:
# Clone package to a ROS workspace
cd ~/catkin_ws/src
git clone git@github.com:qcr/example_behaviour_agent.git
# Clone in the ros_trees ROS package (NEEDED)
git clone https://github.com/qcr/ros_trees.git
# Clone in some additional helper packages (examples, etc.)
git clone https://github.com/qcr/ros_trees_examples.git
git clone https://github.com/qcr/ros_trees_qcr.git
# Move to workspace root and run the following to build
cd ~/catkin_ws
rosdep install --from-paths src --ignore-src -r -y
catkin_make
# Source workspace to run
source ~/catkin_ws/devel/setup.bash
example_behaviour_agent is used with the following commands:
# Run the example behaviour agent with the following command:
rosrun example_behaviour_agent example_agent.py