Skip to content

Python implementation of behaviour trees.

License

Notifications You must be signed in to change notification settings

fjulian/py_trees

 
 

Repository files navigation

Py Trees

[About][Status][Demos & Tutorials][Installation][PyTrees-Ros Ecosystem]


About

PyTrees is a python implementation of behaviour trees designed to facilitate the rapid development of medium sized decision making engines for use in fields like robotics. Brief feature list:

  • Sequence, Selector, Parallel and Chooser composites
  • Blackboards for data sharing
  • Python generators for smarter ticking over the tree graph
  • Python decorators for enabling meta behaviours
  • Render trees to dot graphs or visualise with ascii graphs on stdout

Docs and Demos

devel 1.3.x 0.6.x

Status

Devel 1.3.x 1.2.x 0.6.x 0.5.x
Sources devel 1.3.x 1.2.x 0.6.x 0.5.x
Compatibility Python 3.6 Python 3.6 Python 3.6 Python 2.7 Python 2.7
Continuous Integration devel-Status 1.3.x-Status 1.2.x-Status melodic-Status kinetic-Status
Documentation devel-Docs 1.3.x-Docs 1.2.x-Docs 0.6.x-Docs 0.5.x-Docs

Installation

From ppa on Ubuntu/Bionic:

$ sudo apt install python3-py-trees

From pypi:

$ pip install py_trees

In a Python Virtual Environment:

$ git clone https://github.com/splintered-reality/py_trees
$ cd py_trees
$ source ./virtualenv.bash

Build your own python3 deb:

$ git clone https://github.com/splintered-reality/py_trees
$ cd py_trees
$ source ./virtualenv.bash
$ make deb

From the ROS2 ecosystem:

$ sudo apt install ros-<rosdistro>-py-trees

PyTrees-ROS Ecosystem

See the py_trees_ros README for the latest information on pytrees packages in the ROS ecosystem and their status.

About

Python implementation of behaviour trees.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.9%
  • Other 1.1%