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

How to communicate between multiple ROS master?

asked 2016-01-01 23:23:57 -0500

somebodyus gravatar image

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

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

Comments

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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Stats

Asked: 2016-01-01 23:23:57 -0500

Seen: 2,599 times

Last updated: Jan 04 '16