Ask Your Question
0

Problem about opening webcam(logitech C920)

asked 2016-03-28 22:33:46 -0500

Joy.Lin gravatar image

updated 2016-03-29 08:24:43 -0500

I followed this website http://answers.ros.org/question/19765... ,try to open my webcam. There are some errors about comand

$ rosrun usb_cam usb_cam_node

It shows error message like the following.

[ INFO] [1459206531.320684602]: using default calibration URL
[ INFO] [1459206531.321520602]: camera calibration URL: file:///home/udooer/.ros/camera_info/head_camera.yaml
[ INFO] [1459206531.322092602]: Unable to open camera calibration file 
[/home/udooer/.ros/camera_info/head_camera.yaml]
[ WARN] [1459206531.322306602]: Camera calibration file /home/udooer/.ros/camera_info/head_camera.yaml not found.
[ INFO] [1459206531.322585935]: Starting 'head_camera' (/dev/video0) at 640x480 via mmap (yuyv) at 30 FPS
[ERROR] [1459206531.327861602]: Cannot open '/dev/video0': 11, Resource temporarily unavailable

I have tried to open my camera (logitech C920) with guvcview successfully. However,it still can't work on ROS .

edit retag flag offensive close merge delete

Comments

1

what is the error message...

Niranjan gravatar image Niranjan  ( 2016-03-29 00:16:52 -0500 )edit

Sorry , error message was cut.

Joy.Lin gravatar image Joy.Lin  ( 2016-03-29 04:27:37 -0500 )edit

use this comment to check the camera connected port ls /dev/video*

Niranjan gravatar image Niranjan  ( 2016-03-31 00:58:56 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-29 04:59:39 -0500

AnandGeorge gravatar image

The usb_cam_node is trying to open the camera in /dev/video0. Usually, video0 is the primary camera. You may change it into /dev/video1 in order to access the usb camera.

edit flag offensive delete link more

Comments

Thank for your answer. I tried to exchange /dev/video0. with /dev/video1 , but it still showed me [ERROR] [1459206531.327861602]: Cannot open '/dev/video1': 11, Resource temporarily unavailable There are the other messages it showed me. I add them above.

Joy.Lin gravatar image Joy.Lin  ( 2016-03-29 07:51:13 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-03-28 22:33:46 -0500

Seen: 1,099 times

Last updated: Mar 29 '16