ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
![]() | 1 | initial version |
You should compare the configuration flags that you used on your working version of OpenCV vs. the flags that ROS compiles with. The flags can be found in the opencv2 makefile. For example, I'm guessing cvCaptureFromCAM
requires perhaps v4l support or ffmpeg, but those are both turned off by the ROS OpenCV build.
If you do need to add other flags or turn those on, you can check out the vision_opencv
stack from source onto your ROS_PACKAGE_PATH
, modify the Makefile and recompile the stack.