How many robots can we connect to one master ?

asked 2019-10-07 03:30:46 -0600

Youssef_Lah gravatar image

Hi ROS community,

I want to know how many robots can we connect to one master ? or it depends only on computer performance ?

Thanks.

edit retag flag offensive close merge delete

Comments

1

You are correct. The number of robots you can connect is only limited by the resources on the computer hosting the master. Network bandwidth will most likely be the limiting resource.

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2019-10-07 03:33:49 -0600 )edit

To be more precise, it depend on the computer performance, the network bandwidth, but also the number of free TCP port, as each connection (topic) require a new port.

The number of free TCP port is the only "hard" wall for a lot of connection to the ros master, the other (PC perf and Network) can be increased (to infinite, if you have infinite budget).

But I never had problem with multi robot with a good computer and a good bandwidh (3 robot arm + sensors)

lmathieu gravatar image lmathieu  ( 2019-10-07 04:01:04 -0600 )edit
1

Related: #q305027.

And important to note: the "master" (ie: roscore) is not actually involved in data exchange between nodes. It only facilitates initial setup and configuration. As soon as nodes have setup connections (ie: subscriptions), the master is not needed nor active, so it cannot become a bottleneck.

gvdhoorn gravatar image gvdhoorn  ( 2019-10-07 04:09:26 -0600 )edit