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

Revision history [back]

Hi, I also want to use cmvision in groovy. But CvBridge.h is deprecated in this version. I downloaded CvBridge.h and compared with cv_bridge.h.

CvBridge.h includes: <stdexcept>, "sensor_msgs/Image.h", "opencv/cxcore.h", "opencv/cv.h"

cv_bridge.h includes: <stdexcept>, "sensor_msgs/Image.h", <ros static_assert.h="">, <opencv2 core="" core.hpp="">

In groovy /opt/ros/groovy/include, I found that although CvBridge.h is deprecated, all the headers are still available. So I copied CvBridge.h into /opt/ros/groovy/include/cv_bridge(use sudo cp). Now everything works!

In fuerte version, simply use: sudo apt-get install ros-fuerte-vision-opencv All the dependencies will be installed. Then download and make cmvision, it also works well.