Failed to connect the usb camera
Hi everyone, I am having problem about using my Andoer USB 2.0 12 Megapixel HD Camera Web Cam. Once I plugged in the webcam, I tried the following:
sudo apt-get install ros-indigo-usb-cam
rosrun usb_cam usb_cam_node
with a terminal running the master. I got the following error:
[ INFO] [1456506319.466005157]: using default calibration URL
[ INFO] [1456506319.466141992]: camera calibration URL: file:///home/ally/.ros/camera_info/head_camera.yaml
[ INFO] [1456506319.466318445]: Unable to open camera calibration file [/home/ally/.ros/camera_info/head_camera.yaml]
[ WARN] [1456506319.466353581]: Camera calibration file /home/ally/.ros/camera_info/head_camera.yaml not found.
[ INFO] [1456506319.466388999]: Starting 'head_camera' (/dev/video0) at 640x480 via mmap (mjpeg) at 30 FPS
[ WARN] [1456506319.517065779]: unknown control 'white_balance_temperature_auto'
[ WARN] [1456506319.526420721]: unknown control 'focus_auto'
[ERROR] [1456506324.536249248]: select timeout
When I type:
ls -ltr /dev/video*
The output is:
crwxrwxrwx+ 1 root video 81, 0 Feb 26 16:39 /dev/video0
Please help. Thanks!
Did you try the libuvc_camera package?
Have you figured out how to fix the problem using the
usb_cam
package? I am encountering this same issue as well.Did you try changing the video_device parameter in the launch file of the package? You basically need to use change it to the video device you're operating upon.