<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


  
  

<div text="#000000" bgcolor="#ffffff">
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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; 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" 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>