ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi, I'm doing the same thing as yours. I have successfully use ucv_camera as camera driver with a launch file below:

mono.launch (use to open one camera)

<launch>
    <group ns="camera">
        <node pkg="uvc_camera" type="uvc_camera_node" name="mycam">
            <!-- Parameters used to find the camera -->
            <param name="device" value="/dev/video0"/>
        </node>
     </group>
</launch>

stereo.laumch (open two camera)

<launch>
      <group ns="stereo">
           <node pkg="uvc_camera" type="uvc_stereo_node" name="mycam">
           <!-- Parameters used to find the camera -->
           <param name="left/device" value="/dev/video0"/>
           <param name="right/device" value="/dev/video1"/>
           <param name="width" value="640" />
           <param name="height" value="480" />
           </node>
      </group>
</launch>

You can set other parameter as well.

And use image_view to check if driver works.

Hope this hlep you.