0
$\begingroup$

Rosanswers logo

Hi guys,

I have to machines, one of them configured as the ROS_MASTER. Both of them are essentially running the same code, but I want both machines to publish messages to different topics, hence I thougt it would be good to put one of the machines into a different namespace.

I did that via export ROS_NAMESPACE=xyz

The code base is quite large, and sadly a lot of people used only global topic names during development, which causes ros to NOT prefix those topics ( /topic1 stays /topic1 while topic2 becomes /xyz/topic2).

Is there any other way (for example with the help of remapping) that would allow me to put all of the topics published by a single physical machine to a different namespace?

Thank you!


Originally posted by martin1412 on ROS Answers with karma: 46 on 2016-05-31

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

I don't know the answer, but you might be interested to know, essentially this feature was requested some time ago (to great acclaim). See HERE. I can't tell that it has been implemented.


Originally posted by vschmidt with karma: 242 on 2016-06-29

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.