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

Regarding your question #1, you are mixing up things. There is no sensor_msgs/CvBridge, it should rather be sensor_msgs/Image. See details here.

In relation to question #2, make sure cv_bridge package is installed. Also make sure your package.xml is configured accordingly to have the package as dependency. You need to add cv_bridge if you want to use it in your code.

Lastly, question #3: if your package depends on OpenCV (which obviously does), you must configure the CMakeLists.txt. The right way of doing so is documented here.