mirror of
https://github.com/Jieshoudaxue/ros_senior.git
synced 2026-08-29 08:34:43 +08:00
26 lines
690 B
XML
26 lines
690 B
XML
<launch>
|
|
<node name="usb_cam" pkg="usb_cam" type="usb_cam_node" output="screen" >
|
|
<param name="video_device" value="/dev/video0" />
|
|
<param name="image_width" value="640" />
|
|
<param name="image_height" value="480" />
|
|
<param name="pixel_format" value="yuyv" />
|
|
<param name="camera_frame_id" value="usb_cam" />
|
|
<param name="io_method" value="mmap"/>
|
|
</node>
|
|
|
|
<node pkg="robot_vision" name="motion_detector" type="motion_detector.py" output="screen">
|
|
<rosparam>
|
|
minArea: 500
|
|
threshold: 20
|
|
</rosparam>
|
|
</node>
|
|
|
|
<node
|
|
pkg="rqt_image_view"
|
|
type="rqt_image_view"
|
|
name="rqt_image_view"
|
|
output="screen"
|
|
/>
|
|
|
|
</launch>
|