On Thu, May 19, 2011 at 10:28 AM, olohmann wrote: > 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. > Okko, Could you confirm that the Philips camera only supports either RAW or YUV 4:2:0? The current uvc_cam-based drivers in ROS only support RGB, YUYV or MJPEG (at least last time I checked). You can find a comparison of the USB drivers available here: http://answers.ros.org/question/57/what-driver-should-i-use-for-my-usb-camera . You could give gscam or gencam_cu . There is also usb_cam, but that may not support YUV 4:2:0 either. - Eric > > > 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: > > > > > > > > > > > output="screen"> > > value="/dev/video1" /> > > > > > > > > > > > > > > > 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@code.ros.org > > > https://code.ros.org/mailman/listinfo/ros-users > > _______________________________________________ > > ros-users mailing list > > ros-users@code.ros.org > > https://code.ros.org/mailman/listinfo/ros-users > > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users >