ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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 publish on the same topic (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.
2 | No.2 Revision |
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 publish on 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.