Library of BT.CPP nodes for the DUA framework.
The tree nodes provided in this package allow the tree to interact with various parts of a ROS 2 software architecture.
-
ArmComponent: Arms a component calling thedua_hardware_interfaces/action/Armaction. -
DisarmComponent: Disarms a component calling thedua_hardware_interfaces/action/Disarmaction.
-
SetComponentState: Sets the state of a component calling thestd_srvs/srv/SetBoolservice. -
TriggerComponent: Triggers a component calling thestd_srvs/srv/Triggerservice.
-
SubscriberTrigger:StatefulActionNodethat waits for anstd_msgs/msg/Emptymessage.
-
PublishString: Publishes a string message to a ROS 2 topic.
This library can be included in a project and linked against.
Alternatively, it can be loaded as a plugin using pluginlib. It inherits from the dua_btcpp_base::BaseRegister class.
See dua_btcpp_nodes.hpp and the register_nodes() method for more information on how to initialize this library with BehaviorTree.CPP at runtime.
Copyright 2025 dotX Automation s.r.l.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.