From f6264e33acfdc5484bdd6c6dec134578f93ec0cb Mon Sep 17 00:00:00 2001 From: ahcorde Date: Thu, 28 Jul 2022 11:38:08 +0200 Subject: [PATCH] added namespace to controller manager Signed-off-by: ahcorde --- ign_ros2_control/src/ign_ros2_control_plugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ign_ros2_control/src/ign_ros2_control_plugin.cpp b/ign_ros2_control/src/ign_ros2_control_plugin.cpp index 301854dd..9593fcab 100644 --- a/ign_ros2_control/src/ign_ros2_control_plugin.cpp +++ b/ign_ros2_control/src/ign_ros2_control_plugin.cpp @@ -412,7 +412,8 @@ void IgnitionROS2ControlPlugin::Configure( new controller_manager::ControllerManager( std::move(resource_manager_), this->dataPtr->executor_, - controllerManagerNodeName)); + controllerManagerNodeName, + this->dataPtr->node_->get_namespace())); this->dataPtr->executor_->add_node(this->dataPtr->controller_manager_); if (!this->dataPtr->controller_manager_->has_parameter("update_rate")) {