ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The subscriber knows to how many publishers it is connected to: getNumPublishers Or you use rospy to directly get a list of published topics: get_published_topics.