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

tom futureignobel at gmail.com
Tue May 17 12:19:52 UTC 2011


Hi Okko,

make sure your camera is available to the system as /dev/video1 (as you 
specified in the launchfile). Usually, eg. if that's the only camera 
you're using, this will be /dev/video0 rather (check what ls /dev/video* 
returns). I guess you already tried if your camera works with your 
system eg. using
guvcview -d /dev/video0 .

Also, always check answers.ros.org for existing answers to your problem 
and post your questions there.

Regards,
Tom

W dniu 17.05.2011 10:19, Okko Lohmann pisze:
> Hello,
>
> 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:
>
> <launch>
> <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" />
> </node>
> </launch>
>
> the philips webcam is working with mplayer and the build in laptop camera is working with the uvc_camera-node.
>
> O.Lo
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users



More information about the ros-users mailing list