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

Hysis's profile - activity

2018-07-09 14:01:41 -0500 marked best answer Transport Image tutorial issue: subscriber doesn't show image

Hello everyone,

I tried to do the tutorial " Running the Simple Image Publisher and Subscriber with Different Transports " image_transport/Tutorials but I encountered an issue.

When I run the publisher everything seems to work:

rostopic echo /camera returns a matrix and

rostopic hz /camera proves that something is being published frequently

But then, when I want to use the subscriber which aims to display what is sent to /camera I only have a window(with my wallpaper on it) and then it crashes. I saw I was not the only one with this issue but couldn't find a solution.

So please if you have any idea how to help me it could be great. :)

2018-05-07 08:02:58 -0500 received badge  Famous Question (source)
2018-05-07 08:02:58 -0500 received badge  Notable Question (source)
2017-07-03 12:37:09 -0500 received badge  Popular Question (source)
2017-05-19 08:39:41 -0500 received badge  Autobiographer
2017-05-17 07:42:02 -0500 received badge  Supporter (source)
2017-05-16 02:43:16 -0500 answered a question Transport Image tutorial issue: subscriber doesn't show image

I found out what the error was: you have to add cv::waitKey(30); after the imshow in the my_subscriber.cpp, otherwis

2017-05-15 10:32:06 -0500 asked a question Transport Image tutorial issue: subscriber doesn't show image

Transport Image tutorial issue: subscriber doesn't show image Hello everyone, I tried to do the tutorial " Running the