From 40ba599462277dd5601a71b5ddb034e92ad6b565 Mon Sep 17 00:00:00 2001 From: Ivan Santiago Paunovic Date: Thu, 30 Apr 2020 22:08:55 -0300 Subject: [PATCH] Fix how topic name should be when not using ros topic name conventions (#177) Signed-off-by: Ivan Santiago Paunovic Co-authored-by: Shane Loretz --- 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 1d480b23..0aa015d2 100644 --- a/rmw_cyclonedds_cpp/src/rmw_node.cpp +++ b/rmw_cyclonedds_cpp/src/rmw_node.cpp @@ -1470,7 +1470,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); }