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

Revision history [back]

I found out what the error was: you have to add

 cv::waitKey(30);

after the imshow in the my_subscriber.cpp, otherwise, windows will just pop infinitely with nothing inside.