Skip to content

Commit

Permalink
Add launch file for video_chat_demo
Browse files Browse the repository at this point in the history
  • Loading branch information
a20r committed Feb 15, 2016
1 parent 1fb3976 commit 0f83551
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 12 deletions.
32 changes: 20 additions & 12 deletions launch/example.launch
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,34 @@
<launch>
<node pkg="roscloud" type="client_node.py" name="foo_client_node" output="screen">
<param name="name" value="foo"/>
<param name="host" value="localhost"/>
<param name="port" value="9000"/>
<!-- <param name="host" value="localhost"/> -->
<!-- <param name="port" value="9000"/> -->
<param name="host" value="wallar.me"/>
<param name="port" value="8080"/>
</node>

<node pkg="roscloud" type="client_node.py" name="bar_client_node" output="screen">
<param name="name" value="bar"/>
<param name="host" value="localhost"/>
<param name="port" value="9000"/>
<!-- <param name="host" value="localhost"/> -->
<!-- <param name="port" value="9000"/> -->
<param name="host" value="wallar.me"/>
<param name="port" value="8080"/>
</node>

<node pkg="roscloud" type="client_node.py" name="baz_client_node" output="screen">
<param name="name" value="baz"/>
<param name="host" value="localhost"/>
<param name="port" value="9000"/>
<!-- <param name="host" value="localhost"/> -->
<!-- <param name="port" value="9000"/> -->
<param name="host" value="wallar.me"/>
<param name="port" value="8080"/>
</node>

<node pkg="roscloud" type="client_node.py" name="qux_client_node" output="screen">
<param name="name" value="qux"/>
<param name="host" value="localhost"/>
<param name="port" value="9000"/>
<!-- <param name="host" value="localhost"/> -->
<!-- <param name="port" value="9000"/> -->
<param name="host" value="wallar.me"/>
<param name="port" value="8080"/>
<rosparam>
publishing:
- /state
Expand Down Expand Up @@ -51,9 +59,9 @@
<param name="camera_frame_id" value="usb_cam" />
<param name="io_method" value="mmap"/>
</node>
<node name="image_view" pkg="image_view" type="image_view" respawn="false" output="screen">
<remap from="image" to="/usb_cam/image_raw"/>
<param name="autosize" value="true" />
</node>
<!-- <node name="image_view" pkg="image_view" type="image_view" respawn="false" output="screen"> -->
<!-- <remap from="image" to="/qux/usb_cam/image_raw"/> -->
<!-- <param name="autosize" value="true" /> -->
<!-- </node> -->

</launch>
31 changes: 31 additions & 0 deletions launch/video_chat_demo.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0"?>
<launch>
<node pkg="roscloud" type="client_node.py" name="alex_client_node" output="screen">
<param name="name" value="alex"/>
<param name="host" value="wallar.me"/>
<param name="port" value="8080"/>
<rosparam>
publishing:
- /usb_cam/image_raw/compressed
types:
- sensor_msgs/CompressedImage
trusted:
- raphael
</rosparam>

</node>

<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="320" />
<param name="image_height" value="240" />
<param name="pixel_format" value="yuyv" />
<param name="camera_frame_id" value="usb_cam" />
<param name="io_method" value="mmap"/>
</node>
<!-- <node name="image_view" pkg="image_view" type="image_view" respawn="false" output="screen"> -->
<!-- <remap from="image" to="/qux/usb_cam/image_raw"/> -->
<!-- <param name="autosize" value="true" /> -->
<!-- </node> -->

</launch>

0 comments on commit 0f83551

Please sign in to comment.