Skip to content

Instantly share code, notes, and snippets.

@Andrew-rw
Created September 23, 2017 18:10
Show Gist options
  • Save Andrew-rw/3dea1ab7cf5645c99f1271496cca2e21 to your computer and use it in GitHub Desktop.
Save Andrew-rw/3dea1ab7cf5645c99f1271496cca2e21 to your computer and use it in GitHub Desktop.
ROS web-video-server launc example
<launch>
<!-- This node description you can take from usb_cam-test.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>
<!-- This node will launch web video server -->
<node name="web_video_server" pkg="web_video_server" type="web_video_server" />
</launch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment