custom-bt-condition-cpp

Community

Create robust ROS 2 BT conditions in C++ fast.

Authorwimblerobotics
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enable developers to implement custom ROS 2 BehaviorTree.CPP condition nodes in C++ to query world state and influence task flow with deterministic checks.

Core Features & Use Cases

  • Inherit from BT::ConditionNode and expose ports via providedPorts() to declare inputs like topics, thresholds, and outputs.
  • Access ROS 2 world state through the BT blackboard to read the node handle and sensor data, enabling synchronized decision logic.
  • Use with Nav2 or any ROS 2 navigation/automation flow to gate actions based on concrete conditions.

Quick Start

Implement a new condition node by extending BT::ConditionNode, implement tick() with your logic, expose ports, and register it with the BT factory.

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-condition-cpp
Download link: https://github.com/wimblerobotics/ros2-copilot-skills/archive/main.zip#custom-bt-condition-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.