diff --git a/moveit_ros/planning/rdf_loader/src/synchronized_string_parameter.cpp b/moveit_ros/planning/rdf_loader/src/synchronized_string_parameter.cpp index ac87024b98..acbd22427e 100644 --- a/moveit_ros/planning/rdf_loader/src/synchronized_string_parameter.cpp +++ b/moveit_ros/planning/rdf_loader/src/synchronized_string_parameter.cpp @@ -123,7 +123,7 @@ bool SynchronizedStringParameter::waitForMessage(const rclcpp::Duration& timeout const auto nd_name = std::string(node_->get_name()).append("_ssp_").append(name_); const auto temp_node = std::make_shared(nd_name); string_subscriber_ = temp_node->create_subscription( - name_, + std::string(node_->get_namespace()) + "/" + name_, rclcpp::QoS(1).transient_local().reliable(), // "transient_local()" is required for supporting late subscriptions [this](const std_msgs::msg::String::ConstSharedPtr& msg) { return stringCallback(msg); });