Git Product home page Git Product logo

py_trees's Introduction

Py Trees

Status

Devel 0.8.x 0.6.x 0.5.x
devel-Sources 0.8.x-Sources 0.6.x-Sources 0.5.x-Sources
devel-Status 0.8.x-Status melodic-Status kinetic-Status
devel-Docs 0.8.x-Docs 0.6.x-Docs 0.5.x-Docs

About

This is a python3 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

Note: Official python2 support was dropped in the 0.6.x releases although it may 'just work'.

Installation

From ppa on Ubuntu/Bionic:

$ sudo apt install python3-py-trees

From pypi:

$ pip install py_trees

From the ROS2 ecosystem:

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

In a Python Virtual Environment:

$ git clone https://github.com/stonier/py_trees
$ cd py_trees
$ source ./virtualenv.bash

Build your own python3 deb:

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

Demos and Tutorials

API, guides and demo instructions can be found in the sphinx generated documetnation on Read-The-Docs (devel, 0.8.x, 0.6.x)!

PyTrees in ROS

This repository is python-only, however additional modules & documentation are available for using py_trees with ROS that provide ROS-specific behaviours, logging, tools and visualisations in ROS.

ROS2/Bouncy ROS1/Melodic ROS1/Kinetic
py_trees 0.8.x 0.6.x 0.5.x
py_trees-msgs - 0.3.x 0.3.x
py_trees-ros - 0.5.x 0.5.x
rqt_py_trees - 0.3.x 0.3.x

py_trees's People

Contributors

stonier avatar heuristicus avatar winros avatar naveedhd avatar bit-pirate avatar asmodehn avatar dwlee avatar sachit-wp avatar aadeshnpn avatar clalancette avatar fredrikbaberg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.