mycobot_ros/mycobot_280/mycobot_280arduino/launch/open_camera.launch
2025-06-26 18:06:25 +08:00

21 lines
1 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<launch>
<node name="usb_cam" pkg="usb_cam" type="usb_cam_node" output="screen" >
<!-- //指定设备文件名,默认是/dev/video0 -->
<param name="video_device" value="/dev/video0" />
<!-- // 宽和高分辨率 -->
<param name="image_width" value="640" />
<param name="image_height" value="480" />
<!-- // 像素编码可选值mjpegyuyvQuyvy -->
<param name="pixel_format" value="yuyv" />
<param name="color_format" value="yuv422p" />
<!-- // camera坐标系名Q -->
<param name="camera_frame_id" value="usb_cam" />
<!-- // IO通道可选值mmapreaduserptr大数据量信息一般用mmap -->
<param name="io_method" value="mmap"/>
</node>
<!-- <node name="image_view" pkg="image_view" type="image_view" respawn="false" output="screen"> -->
<!-- // 指定发出的topic名/usb_cam/image_raw -->
<!-- <remap from="image" to="/usb_cam/image_raw"/> -->
<!-- <param name="autosize" value="true" /> -->
<!-- </node> -->
</launch>