SkillAgentSearch skills...

BehaviorTree.ROS2

BehaviorTree.CPP utilities to work with ROS2

Install / Use

/learn @BehaviorTree/BehaviorTree.ROS2
About this skill

Quality Score

0/100

Supported Platforms

Universal

Tags

README

BehaviorTree.ROS2

Test

This repository contains useful wrappers to use ROS2 and BehaviorTree.CPP together.

In particular, it provides a standard way to implement:

  • Behavior Tree Executor with ROS Action interface.
  • Action clients.
  • Service Clients.
  • Topic Subscribers.
  • Topic Publishers.

Our main goals are:

  • to minimize the amount of boilerplate.
  • to make asynchronous Actions non-blocking.

Documentation

Note that this library is compatible only with:

  • BT.CPP 4.6 or newer.
  • ROS2 Humble or newer.

Additionally, check plugins.hpp to see how to learn how to wrap your Nodes into plugins that can be loaded at run-time.

Acknowledgements

A lot of code is either inspired or copied from Nav2.

For this reason, we retain the same license and copyright.

View on GitHub
GitHub Stars310
CategoryDevelopment
Updated1d ago
Forks135

Languages

C++

Security Score

95/100

Audited on Apr 2, 2026

No findings