Hi Harmish,<br><br>I have had good results using the usb_cam driver on my Logitech Quickcam Pro.<br><br>I did not have to edit the source code, but I did need to provide a new pixel format as a parameter.  Try using this launch file:<br>
<br><launch><br>    <node pkg="usb_cam" type="usb_cam_node" name="cam"><br>        <param name="video_device" value="/dev/video0"/><br>        <param name="pixel_format" value="yuyv"/><br>
    </node><br>    <br>    </launch><br>    <br><br>-Adam<br><br><div class="gmail_quote">On Tue, May 11, 2010 at 12:21 PM, Harmish Khambhaita <span dir="ltr"><<a href="mailto:harmish.khambhaita@dfki.de">harmish.khambhaita@dfki.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">hello,<br>
<br>
i am trying hard to make logitech quickcam pro 4000 to work with ros. i have tried following drivers without sucess.<br>
<br>
gencam_cu - problem to link wiht libroslib.o - recompiling does not solve the problem !!<br>
logitech_usb_webcam - making does not give any executable<br>
usb_cam - has problems with ioctl(fd, VIDIOC_S_FMT, &fmt) - gives error 22 - invalid parameters<br>
uvc_cam - has problems with ioctl(fd, VIDIOC_S_FMT, &fmt) - gives error 22 - invalid parameters - i succeed in bypassing these errors by changing fmt.fmt.pix.pixelformat to V4L2_PIX_FMT_YUV420 and changing buffersize (NB_BUFFER = 2), however now i have segmentation fault<br>

<br>
if anybody have success running a webcam with ros, i would be thankful to know the driver and camera you are using.<br>
<br>
cheers,<br>
harmish.<br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote></div><br>