Conversation
Signed-off-by: Pablo Garrido <[email protected]>
|
Hey, I have this a go. Looks like it prefixes the dds topic, eg |
|
In which version of ROS 2 did you test? |
|
ah, yes, I should have said, sorry. I applied your commit to |
|
Can you test it on humble? I remember that when I tested it it was working properly... But probably it needs a rework. |
ok, I just built on humble. same behaviour. It places nodes nicely in namespaces, but not the topics. Publishers, seemingly because of the |
|
I just tested it on humble. The node name is properly prefixed, but all the topics and services remain without a namespace. |
|
hmm, even with the I'm happy to look further into it if someone wants to point me in the right direction. |
|
|
||
| auto remapped_topic_name = namespace_remapping_ + "/" + topic_name; | ||
|
|
||
| this->add_datawriter(datawriter_guid, remapped_topic_name, type_name, |
There was a problem hiding this comment.
I think this is a mistake here? the remapping should only be in the overload of add_datawriter below? This will double namespace it?
There was a problem hiding this comment.
probably it was intended for add_datareader? Which neither overload has a remapping
Signed-off-by: Pablo Garrido [email protected]