ROSTopics: Only advertiser can publish? [closed]
This is a simple question about the ROS communication between nodes.
Only the node that advertises a topic can publish to it?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
This is a simple question about the ROS communication between nodes.
Only the node that advertises a topic can publish to it?
Yes and no :-)
A node needs to create a publisher, which advertises a topic, in order to send anything. So "yes": a node can't send anything on a topic if it doesn't advertise it.
However, multiple nodes can advertise the same topic and publish on it (as well as multiple subscribers can listen). So "no": not only the first node that advertises a topic is allowed to publish on a given topic name.
Asked: 2013-05-26 06:15:27 -0600
Seen: 348 times
Last updated: May 26 '13
getting time difference from topic
How to specify port for topic?
ROS internals - topics storage and network comms?
When using rostopic list only two topics are shown
How to read a topic last value from a Python script?
service faster than topic call
Get raw network data of a ros topic