Define topics for image_publisher [closed]

asked 2021-12-22 16:23:39 -0500

oferbar gravatar image

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?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by oferbar
close date 2022-11-21 03:14:41.741184

Comments

1

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.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-12-23 09:47:30 -0500 )edit