[ros-users] webcam driver for ros
DuHadway Charles (CR/RTC1.1-NA)
Charles.DuHadway at us.bosch.com
Thu May 13 17:09:21 UTC 2010
Harmish,
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.
Charles
________________________________
From: ros-users-bounces at code.ros.org [mailto:ros-users-bounces at code.ros.org] On Behalf Of Harmish Khambhaita
Sent: Wednesday, May 12, 2010 6:24 AM
To: ros-users at code.ros.org
Subject: Re: [ros-users] webcam driver for ros
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.
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.
regards,
harmish.
On May 12, 2010, at 12:23 AM, Adam Stambler wrote:
Just one thing to add:
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?
On the other hand, directly accessing the V4l2 interface with the usb_cam driver works great for the Quickcam Pro.
Regards,
Adam
On Tue, May 11, 2010 at 6:11 PM, Peter Brook <pbrook at cs.washington.edu<mailto:pbrook at cs.washington.edu>> wrote:
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.
Peter
On 05/11/2010 09:52 AM, Tully Foote wrote:
I've used the uvc_cam package for a number of webcams, including a Logitech Quickcam and a Microsoft Lifecam.
Tully
On Tue, May 11, 2010 at 9:30 AM, Adam Stambler <adasta at gmail.com<mailto:adasta at gmail.com>> wrote:
Hi Harmish,
I have had good results using the usb_cam driver on my Logitech Quickcam Pro.
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:
<launch>
<node pkg="usb_cam" type="usb_cam_node" name="cam">
<param name="video_device" value="/dev/video0"/>
<param name="pixel_format" value="yuyv"/>
</node>
</launch>
-Adam
On Tue, May 11, 2010 at 12:21 PM, Harmish Khambhaita <harmish.khambhaita at dfki.de<mailto:harmish.khambhaita at dfki.de>> wrote:
hello,
i am trying hard to make logitech quickcam pro 4000 to work with ros. i have tried following drivers without sucess.
gencam_cu - problem to link wiht libroslib.o - recompiling does not solve the problem !!
logitech_usb_webcam - making does not give any executable
usb_cam - has problems with ioctl(fd, VIDIOC_S_FMT, &fmt) - gives error 22 - invalid parameters
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
if anybody have success running a webcam with ros, i would be thankful to know the driver and camera you are using.
cheers,
harmish.
_______________________________________________
ros-users mailing list
ros-users at code.ros.org<mailto:ros-users at code.ros.org>
https://code.ros.org/mailman/listinfo/ros-users
_______________________________________________
ros-users mailing list
ros-users at code.ros.org<mailto:ros-users at code.ros.org>
https://code.ros.org/mailman/listinfo/ros-users
--
Tully Foote
Systems Engineer
Willow Garage, Inc.
tfoote at willowgarage.com<mailto:tfoote at willowgarage.com>
(650) 475-2827
_______________________________________________
ros-users mailing list
ros-users at code.ros.org<mailto:ros-users at code.ros.org>
https://code.ros.org/mailman/listinfo/ros-users
_______________________________________________
ros-users mailing list
ros-users at code.ros.org<mailto:ros-users at code.ros.org>
https://code.ros.org/mailman/listinfo/ros-users
_______________________________________________
ros-users mailing list
ros-users at code.ros.org<mailto:ros-users at code.ros.org>
https://code.ros.org/mailman/listinfo/ros-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100513/75880adb/attachment-0003.html>
More information about the ros-users
mailing list