[ros-users] uvc_camera node not working with philips webcam 900nc

Okko Lohmann Okko.Lohmann at offis.de
Tue May 17 08:19:32 UTC 2011


I am trying to get the  uvc_camera-node (ubuntu 10.10, package ros-diamondback-camera-umd)  to work with my "Philips SPC 900NC PC Camera" usb-webcam, but the node exits with the following error:

pixfmt 0 = 'PWC2' desc = 'Raw Philips Webcam'
  discrete: 640x480:  
pixfmt 1 = 'YU12' desc = '4:2:0, planar, Y-Cb-Cr'
  discrete: 160x120:   1/5 1/10 1/15 1/20 1/25 1/30
  discrete: 320x240:   1/5 1/10 1/15 1/20 1/25 1/30
  discrete: 640x480:   1/5 1/10 1/15
terminate called after throwing an instance of 'std::runtime_error'
  what():  couldn't set format
[uvc_camera-1] process has died [pid 11142, exit code -6].
log files: ~/log/97474b26-8052-11e0-9f91-002326f94616/uvc_camera-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete

I am using the launch-file:

<node pkg="uvc_camera" type="camera_node" name="uvc_camera" output="screen">
<param name="device" type="string" value="/dev/video1" />
<param name="width" type="int" value="640" />
<param name="height" type="int" value="480" />

the philips webcam is working with mplayer and the build in laptop camera is working with the uvc_camera-node.


More information about the ros-users mailing list