1. 在epuck@epuck3:~/fuerte/epuck/epuck_opencv_cam_driver
Test the "driver_node", it is executable but without frame width and height. The result is as follow:
------------------------------------------------------------------
$ rosrun epuck_opencv_cam_driver driver_node
camera opened
frame width = 0
frame height = 0
-----------------------------------------------------------------
以上错误,要改摄像头的访问权限就好。如下
$ sudo chmod 777 /dev/video0
Then the error is:
------------------------------------------------------------------
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
camera opened
frame width = 640
frame height = 480
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
select timeout
select timeout
------------------------------------------------------------------
***
Possible solution:
http://help.simplecv.org/question/722/vidioc_querymenu-invalid-argument-and-select-timeout-with-simplecv/
I think you too should re-install v4lc-utils(try to install latest stable version) and re-compile OpenCV. Refer to this post and see if you have missed something while installing OpenCV. http://jayrambhia.wordpress.com/2012/06/20/install-opencv-2-4-in-ubuntu-12-04-precise-pangolin/