How many robots can we connect to one master ?
Hi ROS community,
I want to know how many robots can we connect to one master ? or it depends only on computer performance ?
Thanks.
Asked by Youssef_Lah on 2019-10-07 03:30:46 UTC
Hi ROS community,
I want to know how many robots can we connect to one master ? or it depends only on computer performance ?
Thanks.
Asked by Youssef_Lah on 2019-10-07 03:30:46 UTC
Comments
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.
Asked by PeteBlackerThe3rd on 2019-10-07 03:33:49 UTC
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)
Asked by lmathieu on 2019-10-07 04:01:04 UTC
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.Asked by gvdhoorn on 2019-10-07 04:09:26 UTC