Define topics for image_publisher [closed]
I would like to use the image_publisher to debug and demonstrate my code. The problem is that everytime i run the image_publisher, the topics are anonymous and different. Is there anyway i could set the topic to be a topic that i like?
Yes, ROS can create predictable topic names. Please edit your description and show us: 1) the code you use to init the node (or node handle in c++), 2) the code you use to create the publisher object, 3) an example of an anonymous topic name.
You edit using the "edit" button at the end of the description.