Problem with usb_cam in melodic using laptop integrated camera

asked 2018-07-26 21:14:46 -0500

pedro_bb7 gravatar image

I installed ros, usb_cam successfully however when I run the command:

rosrun usb-cam usb-cam-node

I get the following error:

[ INFO] [1532657507.128646432]: using  default calibration URL [ INFO]
[1532657507.129513301]: camera calibration URL:
file:///home/pedro/.ros/camera_info/head_camera.yaml
[ INFO] [1532657507.129663131]: Unable
to open camera calibration file
[/home/pedro/.ros/camera_info/head_camera.yaml]
[ WARN] [1532657507.129701080]: Camera
calibration file
/home/pedro/.ros/camera_info/head_camera.yaml
not found. [ INFO]
[1532657507.129746222]: Starting
'head_camera' (/dev/video0) at 640x480
via mmap (mjpeg) at 30 FPS [ WARN]
[1532657507.864252000]: unknown
control 'focus_auto'

> [ERROR] [1532657507.943121832]: outbuf
> size mismatch.  pic_size: 1843200
> bufsize: 614400
edit retag flag offensive close merge delete

Comments

Slightly unrelated, have you tried this with uvc_camera? I've always found it to be more reliable than usb_cam.

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2018-07-27 10:09:12 -0500 )edit