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

olohmann olohmann at offis.de
Thu May 19 14:28:38 UTC 2011


Sorry for the late response,

> make sure your camera is available to the system as /dev/video1 (as
> you specified in the launchfile). 

/dev/video1 is correct in the launch-file.

I am trying to calibrate multiple cameras according to
http://www.ros.org/wiki/camera_pose_calibration the first
camera /dev/video0 is the build in webcam of the laptop and /dev/video1
is the philips webcam.


> 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 .

Both cameras are working with guvcview.

> 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
> _______________________________________________
> 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