All Projects → miccol → Ros Behavior Tree

miccol / Ros Behavior Tree

Licence: mit
Behavior Trees Library for ROS (Robot Operating System). In C++ and python

Labels

Projects that are alternatives of or similar to Ros Behavior Tree

Hypharos minicar
1/20 MiniCar: An ackermann based rover for MPC and Pure-Pursuit controller
Stars: ✭ 194 (-19.17%)
Mutual labels:  ros
Gqcnn
Python module for GQ-CNN training and deployment with ROS integration.
Stars: ✭ 216 (-10%)
Mutual labels:  ros
Cupoch
Robotics with GPU computing
Stars: ✭ 225 (-6.25%)
Mutual labels:  ros
Bonnetal
Bonnet and then some! Deep Learning Framework for various Image Recognition Tasks. Photogrammetry and Robotics Lab, University of Bonn
Stars: ✭ 202 (-15.83%)
Mutual labels:  ros
Ur5 ros Gazebo
Universal Robot (UR5) Pick and Place Simulation in ROS-Gazebo with a USB Cam and Vacuum Grippers
Stars: ✭ 211 (-12.08%)
Mutual labels:  ros
Raspicam node
ROS node for camera module of Raspberry Pi
Stars: ✭ 218 (-9.17%)
Mutual labels:  ros
Sarosperceptionkitti
ROS package for the Perception (Sensor Processing, Detection, Tracking and Evaluation) of the KITTI Vision Benchmark Suite
Stars: ✭ 193 (-19.58%)
Mutual labels:  ros
Rrt exploration
A ROS package that implements a multi-robot RRT-based map exploration algorithm. It also has the image-based frontier detection that uses image processing to extract frontier points.
Stars: ✭ 236 (-1.67%)
Mutual labels:  ros
Iiwa stack
ROS integration for the KUKA LBR IIWA R800/R820 (7/14 Kg).
Stars: ✭ 211 (-12.08%)
Mutual labels:  ros
Hypharos racecar
Low-cost, high speed (600USD, 3 m/s) 1/10 Autonomous ROS RaceCar (with tutorial for beginner)
Stars: ✭ 221 (-7.92%)
Mutual labels:  ros
Ros people object detection tensorflow
An extensive ROS toolbox for object detection & tracking and face/action recognition with 2D and 3D support which makes your Robot understand the environment
Stars: ✭ 202 (-15.83%)
Mutual labels:  ros
Laser line extraction
A ROS package that extracts line segments from LaserScan messages.
Stars: ✭ 206 (-14.17%)
Mutual labels:  ros
Mcl 3dl
A ROS node to perform a probabilistic 3-D/6-DOF localization system for mobile robots with 3-D LIDAR(s). It implements pointcloud based Monte Carlo localization that uses a reference pointcloud as a map.
Stars: ✭ 221 (-7.92%)
Mutual labels:  ros
Neuralet
Neuralet is an open-source platform for edge deep learning models on edge TPU, Jetson Nano, and more.
Stars: ✭ 200 (-16.67%)
Mutual labels:  ros
Industrial training
ROS-Industrial Training Material
Stars: ✭ 233 (-2.92%)
Mutual labels:  ros
Pedsim ros
Pedestrian simulator powered by the social force model
Stars: ✭ 194 (-19.17%)
Mutual labels:  ros
Jetson easy
🔩 Automatically script to setup and configure your NVIDIA Jetson [Nano, Xavier, TX2i, TX2, TX1, TK1] . This script run different modules to update, fix and patch the kernel, install ROS and other...
Stars: ✭ 219 (-8.75%)
Mutual labels:  ros
Ros robotics projects
Example codes of new book ROS Robotics Projects
Stars: ✭ 240 (+0%)
Mutual labels:  ros
Tonav
Implementation of Multi-State Constraint Kalman Filter (MSCKF) for Vision-aided Inertial Navigation. This is my master's thesis.
Stars: ✭ 235 (-2.08%)
Mutual labels:  ros
Openag brain
ROS package for controlling an OpenAg food computer
Stars: ✭ 221 (-7.92%)
Mutual labels:  ros

NEWS!

Our book Behavior Trees in Robotics and AI, published by CRC Press Taylor & Francis, is available for purchase (ebook and hardcover) on the CRC Press Store or Amazon. The Preprint version (free) is available here: https://arxiv.org/abs/1709.00084

Tutorials available at https://btirai.github.io/












NOTE:

The YARP version of this library has a GUI as the following: alt tag

ROS-Behavior-Tree License MIT

Version
A ROS behavior tree library. The leaf nodes (user defined) can be either in C++ or python. Read the user manual for more information.

REFERENCE

Please refer to the following paper when using the library:

How Behavior Trees Modularize Hybrid Control Systems and Generalize Sequential Behavior Compositions, the Subsumption Architecture, and Decision Trees. Michele Colledanchise and Petter Ogren. IEEE Transaction on Robotics 2017.

bibtex entry:

@ARTICLE{TRO17Colledanchise,
author={M. Colledanchise and P. Ögren},
journal={IEEE Transactions on Robotics},
title={{How Behavior Trees Modularize Hybrid Control Systems and Generalize Sequential Behavior Compositions, the Subsumption Architecture, and Decision Trees}},
year={2017},
volume={33},
number={2},
pages={372-389},
keywords={Computer architecture;Decision trees;High definition video;Robot control;Switches;Behavior trees (BTs);decision trees;finite state machines (FSMs);hybrid dynamical systems (HDSs);modularity;sequential behavior compositions;subsumption architecture},
doi={10.1109/TRO.2016.2633567},
ISSN={1552-3098},
month={April},}

INFO

Contains 2 packages: behavior_tree_core and behavior_tree_leaves.

behavior_tree_core: Contains the core BT source code, including the tree and the leaf nodes.

behavior_tree_leaves: Contains action and condition specifications for BT leaf nodes running as external ROS nodes.

User manual available in the project folder (BTUserManual.pdf):

BUILD STATUS

Hydro Indigo Jade Kinetic
Release

DEPENDENCIES

Regarding visualization purposes:

  • Opengl
  • Glut
  • xdot: For visualizing using DOT language.
  • rqt_dot: For visualizing the tree in RQT with DOT language.

Regarding unit tests:

BT NODES SUPPORT

Selector: Selector nodes are used to find and execute the first child that does not fail. A Selector node will return immediately with a status code of success or running when one of its children returns success or running. The children are ticked in order of importance, from left to right.

Sequence: Sequence nodes are used to find and execute the first child that has not yet succeeded. A sequence node will return immediately with a status code of failure or running when one of its children returns failure or running. The children are ticked in order, from left to right.

Parallel: The parallel node ticks its children in parallel and returns success if M ≤ N children return success, it returns failure if N − M + 1 children return failure, and it returns running otherwise.

Decorator: The decorator node manipulates the return status of its child according to the policy defined by the user (e.g. it inverts the success/failure status of the child). In this library the decorators implemented are the two common ones: Decorator Retry which retries the execution of a node if this fails; and Decorator Negation That inverts the Success/Failure outcome.

Action: An Action node performs an action, and returns Success if the action is completed, Failure if it can not be completed and Running if completion is under way.

Condition: A Condition node determines if a desired condition c has been met. Conditions are technically a subset of the Actions, but are given a separate category and graphical symbol to improve readability of the BT and emphasize the fact that they never return running and do not change any internal states/variables of the BT.

SETUP

USER MANUAL available inside the repo's folder

The first step to use BT++ is to retrieve its source code. You can either download it here (https://github.com/miccol/ROS-Behavior-Tree) or clone the repository:

$ cd /path/to/catkin_ws/src
$ git clone https://github.com/miccol/ROS-Behavior-Tree.git

Once you have the repository. Compile the library:

$ cd /path/to/catkin_ws/
$ catkin_make

Check the installation by launching an example.

$ roslaunch behavior_tree_leaves test_behavior_tree.launch

Run rqt_dot plugin for the visualization in ROS and put the ROS topic in which the tree is published. The default topic is /bt_dotcode.

rosrun rqt_dot rqt_dot

NOTES

In case you are puzzled about why a sequence (or fallback) node with 2 or more actions as children never get past the first action, see this discussion.

LICENSE

The MIT License (MIT)

Copyright (c) 2014-2018 Michele Colledanchise

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].