Adding nodes to ros topic
Hi
Is it possible for more then one ros node to subscribe to the same topic. If yes then what's the maximum number of nodes one ros topic can handle?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi
Is it possible for more then one ros node to subscribe to the same topic. If yes then what's the maximum number of nodes one ros topic can handle?
Yes, it is possible for many ROS nodes to subscribe to one topic.
I don't believe there is a hard upper limit to the number of subscribers; the limit will mostly come from the performance of the computer. As a rough guess, I think it should be possible to have over 100 subscribers on a single topic; possibly many times that.
I'm not sure any testing has been done to validate the maximum number of subscribers or the performance impact of having very many subscribers. If you want to have lots (>100) of subscribers, you should write a simple test and validate that the publisher and subscriber work well in a scenario that is representative of your use case.
Asked: 2016-05-17 15:34:32 -0500
Seen: 149 times
Last updated: May 17 '16
Load a urdf/xml file as rosparm from a c++ ros node
how to include path to external libraries used by nodes?
Weird rqt_graph when running turtlesim
argument remapping: how to find the argument name
rosout keeps respawning even after killall
Node crashing with typeinfo for boost:io:basic_altstringbuf error