Robotics StackExchange | Archived questions

usb_cam error

I've download the usbcam in my BBB and catkinmakeisolated --install -DCMAKEBUILDTYPE=Release --pkg usbcam in my workplace ( indigo ). But I meet some issue when I catkinmakeisolated it

So I've download the files below :

sudo apt-get install libv4l1-dev

sudo apt-get install libyaml-cpp-dev

sudo apt-get install v4l-utils

After installing these lib, it allows me to catkinmakeisolated --install -DCMAKEBUILDTYPE=Release --pkg usb_cam

But when I run

rosrun usbcam usbcam_node

root@beaglebone:~/indigo# rosrun usbcam usbcam_node

[ INFO] [1400120763.231818383]: using default calibration URL

[ INFO] [1400120763.250893092]: camera calibration URL: file:///root/.ros/camerainfo/headcamera.yaml

[ INFO] [1400120763.264751675]: Unable to open camera calibration file [/root/.ros/camerainfo/headcamera.yaml]

[ WARN] [1400120763.278835175]: Camera calibration file /root/.ros/camerainfo/headcamera.yaml not found.

[ INFO] [1400120763.297519925]: Starting 'head_camera' (/dev/video0) at 640x480 via mmap (mjpeg) at 30 FPS

[ WARN] [1400120764.771444967]: unknown control 'whitebalancetemperature_auto'

[ WARN] [1400120764.924340800]: unknown control 'focus_auto'

[ERROR] [1400120769.944062634]: select timeout

root@beaglebone:~/indigo#

Please tell me where am I wrong and I m really appreciated who is able to help me...

Kind Regards,

Tsao

Asked by Tsao on 2015-05-23 22:29:05 UTC

Comments

Exactly the same problem here.

Asked by Jägermeister on 2019-03-14 07:30:30 UTC

Answers

You use a usb camera or a web camera? And if you use a usb camera usb_cam is ok But if you use a web camera , usb_cam might not work well. I guess you usb a web camera as your device is /dev/video0

Asked by wsAndy on 2015-05-24 01:29:04 UTC

Comments

Hi, I'm using playstation camera connecting to the BBB not web camera. And, I wanna get the image_view via ROS, thanks

Asked by Tsao on 2015-05-24 01:48:49 UTC