Fix how topic name should be when not using ros topic name conventions (#177)
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com> Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
This commit is contained in:
parent
f820994aab
commit
40ba599462
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue