Image transport tutorial does not work properly
Hello Everyone,
I have been trying to execute the tutorials given in image_transport tutorial.
I finished the my_publisher.cpp and tried to run using
rosrun image_transport_tutorial my_publisher ImagePath.jpg
I got no errors and the cursor was in standstill.
The following command
rostopic list
showed the topics as follows
/SourceImage
/SourceImage/compressed
/SourceImage/compressed/parameter_descriptions
/SourceImage/compressed/parameter_updates
/SourceImage/compressedDepth
/SourceImage/compressedDepth/parameter_descriptions
/SourceImage/compressedDepth/parameter_updates
/SourceImage/theora
/SourceImage/theora/parameter_descriptions
/SourceImage/theora/parameter_updates
/rosout
/rosout_agg
According to the tutorial, I should only get
/SourceImage [sensor_msgs/Image] - 1 Publisher
I don't know why I didn't get it right.
When I tried to run the my_subscriber.cpp, it threw me the following error
OpenCV Error: Assertion failed (size.width>0 && size.height>0) in imshow ......
Anyone having any suggestions to overcome this problem ?
even im getting the same issue, notify me if you got it please