C++ base class library that extends the base rclcpp::Node providing direct and easy access to the DUA features.
This library provides the new dua_node::NodeBase base ROS 2 node class that implements the following features.
- Automatic initialization of an embedded
PManagerobject to manage node parameters from theparams_manager_cpplibrary. This way, one only needs to defineinit_parametersin the node class to automatically declare and set up the parameters.
Just include the dua_node.hpp header file in your node class, and inherit from the dua_node::NodeBase class. The constructor accepts the following arguments.
std::string && node_name: the name of the node.const rclcpp::NodeOptions & opts: the node options object, defaults torclcpp::NodeOptions().verbose: a boolean flag that enables verbose logs in various utils, defaults tofalse.
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.