Skip to content
Snippets Groups Projects
Commit e44c5bd5 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Added the output topic remapping to the input arguments.

parent 19a455a5
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
<arg name="output" default="screen"/> <arg name="output" default="screen"/>
<arg name="launch_prefix" default=""/> <arg name="launch_prefix" default=""/>
<arg name="cloud_in" default="~pointcloud_in"/> <arg name="cloud_in" default="~pointcloud_in"/>
<arg name="cloud_out" default="~pointcloud_out"/>
<group ns="$(arg ns)"> <group ns="$(arg ns)">
...@@ -16,6 +17,7 @@ ...@@ -16,6 +17,7 @@
output="$(arg output)" output="$(arg output)"
launch-prefix="$(arg launch_prefix)"> launch-prefix="$(arg launch_prefix)">
<remap from="~input" to="$(arg cloud_in)"/> <remap from="~input" to="$(arg cloud_in)"/>
<remap from="~output" to="$(arg cloud_out)"/>
<rosparam file="$(arg config_file)" command="load"/> <rosparam file="$(arg config_file)" command="load"/>
</node> </node>
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
<arg name="output" default="screen"/> <arg name="output" default="screen"/>
<arg name="launch_prefix" default=""/> <arg name="launch_prefix" default=""/>
<arg name="cloud_in" default="~pointcloud_in"/> <arg name="cloud_in" default="~pointcloud_in"/>
<arg name="cloud_out" default="~pointcloud_out"/>
<group ns="$(arg ns)"> <group ns="$(arg ns)">
...@@ -17,6 +18,7 @@ ...@@ -17,6 +18,7 @@
args="load iri_average_point_cloud/AveragePointCloudAlgNodelet $(arg camera_nodelet_manager)" args="load iri_average_point_cloud/AveragePointCloudAlgNodelet $(arg camera_nodelet_manager)"
output="$(arg output)"> output="$(arg output)">
<remap from="~input" to="$(arg cloud_in)"/> <remap from="~input" to="$(arg cloud_in)"/>
<remap from="~output" to="$(arg cloud_out)"/>
<rosparam file="$(arg config_file)" command="load"/> <rosparam file="$(arg config_file)" command="load"/>
</node> </node>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment