ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to communicate between multiple ROS master?

asked 2016-01-01 23:23:57 -0600

somebodyus gravatar image

updated 2016-01-01 23:24:40 -0600

I have two PCs in one robot. The PCs are connected using one router. PC1 is selected as ROS master.

I have another two PCs in another robot. The PCs are connected using another router. PC3 is selected as ROS master.

How to communicate between the ROS sub-networks? How to avoid name conflict?

edit retag flag offensive close merge delete


I think...the idea behind networking is that you have only ONE master and so many slaves as you desire. But to let many masters to communicate each other is not a function of ROS. I think you cannot. Or you must create some communications packets on your own.

Andromeda gravatar image Andromeda  ( 2016-01-02 15:41:40 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-01-04 22:03:33 -0600

You will need to use something like multimaster_fkie or rocon_multimaster and namespace each of your robots. You can take a look at this answer about the namespacing.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-01-01 23:23:57 -0600

Seen: 2,532 times

Last updated: Jan 04 '16