From ac1131644035b38e434a8c76fbf4845c5553af47 Mon Sep 17 00:00:00 2001 From: Ivan Santiago Paunovic Date: Thu, 30 Apr 2020 17:31:15 -0300 Subject: [PATCH] Fix how topic name should be when not using ros topic name conventions Signed-off-by: Ivan Santiago Paunovic --- rmw_cyclonedds_cpp/src/rmw_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmw_cyclonedds_cpp/src/rmw_node.cpp b/rmw_cyclonedds_cpp/src/rmw_node.cpp index bfa62612..508b54b1 100644 --- a/rmw_cyclonedds_cpp/src/rmw_node.cpp +++ b/rmw_cyclonedds_cpp/src/rmw_node.cpp @@ -1392,7 +1392,7 @@ static std::string make_fqtopic( bool avoid_ros_namespace_conventions) { if (avoid_ros_namespace_conventions) { - return std::string(topic_name) + "__" + std::string(suffix); + return std::string(topic_name) + std::string(suffix); } else { return std::string(prefix) + std::string(topic_name) + std::string(suffix); }