<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5945" name=GENERATOR></HEAD>
<BODY 
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
<DIV><SPAN class=857420717-13052010><FONT face=Arial color=#0000ff 
size=2>Harmish,</FONT></SPAN></DIV>
<DIV><SPAN class=857420717-13052010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=857420717-13052010><FONT face=Arial color=#0000ff size=2>I'd be 
interested in any improvements or fixes to usb_cam that you make. If 
they generalize well I can include them in the next version of 
usb_cam.</FONT></SPAN></DIV>
<DIV><SPAN class=857420717-13052010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN><SPAN class=857420717-13052010><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=857420717-13052010><FONT face=Arial color=#0000ff 
size=2>Charles</FONT></SPAN></DIV>
<DIV><SPAN class=857420717-13052010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV>
<HR tabIndex=-1>
</DIV>
<DIV><FONT face=Tahoma size=2><B>From:</B> ros-users-bounces@code.ros.org 
[mailto:ros-users-bounces@code.ros.org] <B>On Behalf Of </B>Harmish 
Khambhaita<BR><B>Sent:</B> Wednesday, May 12, 2010 6:24 AM<BR><B>To:</B> 
ros-users@code.ros.org<BR><B>Subject:</B> Re: [ros-users] webcam driver for 
ros<BR></FONT><BR></DIV>
<DIV></DIV>i got the usb_cam driver working under ubuntu 10.04. the problem with 
logitech quickcam pro was that it was giving image data in yuv420 format, 
however the usb_cam driver do not have conversion to rgb for this format. i 
wrote one myself, it works for the greyscale image, however i have still some 
rgb porblems.
<DIV><BR></DIV>
<DIV>i have other tow cameras - one microsoft lifecam vx1000 and one ups cam. 
these cameras work perfectly under ubuntu 10.04. however under ubuntu 8.04, it 
gives me the error - '/dev/video0 is not v4l2 device'. i think its v4l2 
driver/kernel 2.6.26 problem. i am currently upgrading the kernel in hope of 
solving this issue.</DIV>
<DIV><BR></DIV>
<DIV>regards,</DIV>
<DIV>harmish.</DIV>
<DIV><BR>
<DIV>
<DIV>On May 12, 2010, at 12:23 AM, Adam Stambler wrote:</DIV><BR 
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">Just one thing to add:<BR><BR>Gstreamer does not work 
  well for the Logitech Quickcam Pro for Notebooks.  There is something 
  going on with Gstreamer that makes the the picture lag by as much as a 
  second.  This occurs  (on my set up) with both the probe ROS camera 
  driver and through Opencv.  At the same time, my laptop's built in webcam 
  works perfectly.  Have other people had similar problems with 
  gstreamer?<BR><BR>On the other hand, directly accessing the V4l2 interface 
  with the usb_cam driver works great for the Quickcam Pro.  
  <BR><BR>Regards,<BR>Adam<BR><BR>
  <DIV class=gmail_quote>On Tue, May 11, 2010 at 6:11 PM, Peter Brook <SPAN 
  dir=ltr><<A 
  href="mailto:pbrook@cs.washington.edu">pbrook@cs.washington.edu</A>></SPAN> 
  wrote:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV bgcolor="#ffffff" text="#000000">I have used Brown University's probe 
    driver to get my builtin webcam publishing in ROS. Since it uses gstreamer, 
    it should work with pretty much any webcam that can be used in 
    Ubuntu.<BR><FONT color=#888888><BR>Peter</FONT>
    <DIV>
    <DIV></DIV>
    <DIV class=h5><BR><BR>On 05/11/2010 09:52 AM, Tully Foote wrote: 
    <BLOCKQUOTE type="cite">I've used the uvc_cam package for a number of 
      webcams, including a Logitech Quickcam and a Microsoft Lifecam. 
      <DIV><BR></DIV>
      <DIV>Tully<BR><BR>
      <DIV class=gmail_quote>On Tue, May 11, 2010 at 9:30 AM, Adam Stambler 
      <SPAN dir=ltr><<A href="mailto:adasta@gmail.com" 
      target=_blank>adasta@gmail.com</A>></SPAN> wrote:<BR>
      <BLOCKQUOTE class=gmail_quote 
      style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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><FONT color=#888888>    
        <BR><BR>-Adam</FONT> 
        <DIV>
        <DIV><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" 
        target=_blank>harmish.khambhaita@dfki.de</A>></SPAN> wrote:<BR>
        <BLOCKQUOTE class=gmail_quote 
        style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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" 
          target=_blank>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></DIV></DIV><BR>_______________________________________________<BR>ros-users 
        mailing list<BR><A href="mailto:ros-users@code.ros.org" 
        target=_blank>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><BR></BLOCKQUOTE></DIV><BR><BR 
      clear=all><BR>-- <BR>Tully Foote<BR>Systems Engineer<BR>Willow Garage, 
      Inc.<BR><A href="mailto:tfoote@willowgarage.com" 
      target=_blank>tfoote@willowgarage.com</A><BR>(650) 475-2827<BR></DIV><PRE><FIELDSET></FIELDSET>
_______________________________________________
ros-users mailing list
<A href="mailto:ros-users@code.ros.org" target=_blank>ros-users@code.ros.org</A>
<A href="https://code.ros.org/mailman/listinfo/ros-users" target=_blank>https://code.ros.org/mailman/listinfo/ros-users</A>
  </PRE></BLOCKQUOTE></DIV></DIV></DIV><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><BR></BLOCKQUOTE></DIV><BR>_______________________________________________<BR>ros-users 
  mailing list<BR><A 
  href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</A><BR>https://code.ros.org/mailman/listinfo/ros-users<BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>