ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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...