What are the differences between broadcaster and publisher
Hi guys,
I am new to ROS, and I just learned some ROS tutorials. I found that in some tutorials, they refer to a node as the "publisher", such as the "image publisher" in http://wiki.ros.org/image_transport/T.... However, in other tutorials, they refer to a node as the "broadcaster", such as the "tf broadcaster" in http://wiki.ros.org/tf/Tutorials/Writ.... Furthermore, the recipients of them, subscribers and listeners, are not the same either.
I noticed that they all send messages to topics, but subscribers have callback functions that listeners do not have. But
I do not know the reasons for creating these two different nodes, or classes.
Can I use the function subscribe() to subscribe to a topic from the broadcaster? Can they communicate with each other?
Thanks for any help or hints in advance. Sorry if I missed any information that already existed.