custom-bt-action-cpp

Community

Create robust BT action nodes in ROS 2.

Authorwimblerobotics
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Bridges BehaviorTree.CPP with ROS 2 action servers by providing a template base class BtActionNode that handles action client lifecycle, goal sending, feedback monitoring, and result processing.

Core Features & Use Cases

  • BT Action Node Template: Provides a reusable base class to implement new ROS 2 action clients within Nav2 BTs.
  • Ports & Lifecycle: Demonstrates how to expose ports, configure goal fields, and handle results via on_success/on_aborted/on_cancelled.
  • Plugin Registration & Build: Includes example code for registering the node with BT factory and loading into Nav2 bt_navigator.
  • CMake & Build Integration: Shows required dependencies and install targets for building a shared library.
  • Use Case: Create a custom SaySomething action node to connect an action server to a BT.

Quick Start

Compile the custom BtActionNode into a shared library and register it with Nav2 so it can be loaded by the bt_navigator.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: custom-bt-action-cpp
Download link: https://github.com/wimblerobotics/ros2-copilot-skills/archive/main.zip#custom-bt-action-cpp

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.