Image_Transport Tutorial Problem
Hi everyone,
I am planning to use ROS and openCV for an image processing project and also I am quite new to ROS environment so I'm simply trying to follow the tutorials.
http://wiki.ros.org/image_transport/T...
I would like to publish and subscribe an image first but could't make it run. Catkin_make has completed without an error but can't display anything after running the publisher and subscriber nodes. After running "my_subscriber" a window is quickly opening and closing at the same time and it's written init done in the console.
What am I missing?
Did
rostopic list -v
orrosrun rqt_graph rqt_graph
work as shown in the tutorial?Thanks for the comment. For rqt_graph yes, for rostopic list, yes what it's written in tutorial and some extras as well. I have edited the cpp code waitKey(0); at the end and now I'm able to see the window, however it's all black.
You should try running rqt_image_view, if that works then the problem is only in the subscriber and not the publisher. I assume your source image is not itself all black.
rqt_image_view shows the image so my publisher is just fine I guess can't subscribe it!