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

Revision history [back]

click to hide/show revision 1
initial version

In short: no.

The unit of transport in ROS is a message, and publishers are anonymous, so it doesn't make sense to ask which publisher a message came from. Publishers aren't required to publish at the same or with the same frequency either, so it doesn't make sense to deliver the data from all publishers simultaneously.

If you're trying to aggregate diagnostics data, you may want to look at the diagnostic_aggregator and either use it, or implement a similar algorithm in your own code.