Ask Your Question

Running many instances of Rviz[for example] - ROS over Multiple machines

asked 2014-01-24 07:24:09 -0500

Naman gravatar image

Hey guys,

So, I am working on the project where different robots need to communicate with each other and I am using ROS over multiple machines. My question is if I run more than one instance of Rviz, say on different robots then all of the instances of Rviz will be publishing messages on the same topic. Also, different nodes will be subscribed to receive messages from the topics where their corresponding Rviz is publishing. But all this will create a mess because all the instances of Rviz will publish on the same topic and all corresponding nodes are subscribed to the same topic. What is the best way to separate the topics on which different instances of Rviz are publishing so that corresponding nodes can be subscribed to corresponding topics?

I hope I have made myself clear. Please ask in case of any confusion.

Thanks in advance. Naman

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-24 09:05:57 -0500

ahendrix gravatar image

It sounds like you should be using a separate topic for each receiving node, and configuring the corresponding rviz instance to publish to that topic.

I've seen this done in the past by assigning a namespace to each robot.

The tool properties in rviz have some support for configuring tool properties. For example, you can change the topic that navigation goals are published to.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-01-24 07:24:09 -0500

Seen: 150 times

Last updated: Jan 24 '14