Re: [ros-users] webcam driver for ros

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: Adam Stambler
Dato:  
Til: ros-users
Emne: Re: [ros-users] webcam driver for ros
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 <
> 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
>
> https://code.ros.org/mailman/listinfo/ros-users
>