Skip to content

Commit

Permalink
Fix how topic name should be when not using ros topic name conventions (
Browse files Browse the repository at this point in the history
#177)

Signed-off-by: Ivan Santiago Paunovic <[email protected]>

Co-authored-by: Shane Loretz <[email protected]>
  • Loading branch information
ivanpauno and sloretz authored May 1, 2020
1 parent f820994 commit 40ba599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmw_cyclonedds_cpp/src/rmw_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 40ba599

Please sign in to comment.