Ask Your Question

# Revision history [back]

The source code takes a sample image as argv[1]. I. e. in a folder where a image file like my_photo.jpg is located you have to run it like

rosrun image_transport_tutorial my_publisher my_photo.jpg


in order for telling it what to publish; otherwise it will just publish an empty image header...