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

Added the output topic remapping to the input arguments.

parent 8dfc6574
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,9 @@
<arg name="output" default="screen"/>
<arg name="launch_prefix" default=""/>
<arg name="cloud_in" default="~pointcloud_in"/>
<arg name="debug_image" default="~debug_image"/>
<arg name="obstacles_cloud_out" default="~obstacles_cloud_out"/>
<arg name="free_space_cloud_out" default="~free_space_cloud_out"/>
<group ns="$(arg ns)">
......@@ -17,6 +20,9 @@
output="$(arg output)"
launch-prefix="$(arg launch_prefix)">
<remap from="~pointcloud_in" to="$(arg cloud_in)"/>
<remap from="~obstacles_img/image_raw" to="$(arg debug_image)"/>
<remap from="~obstacles" to="$(arg obstacles_cloud_out)"/>
<remap from="~free_space" to="$(arg free_space_cloud_out)"/>
<rosparam file="$(arg config_file)" command="load"/>
<rosparam file="$(arg ranges_file)" command="load"/>
</node>
......
......@@ -9,6 +9,9 @@
<arg name="output" default="screen"/>
<arg name="launch_prefix" default=""/>
<arg name="cloud_in" default="~pointcloud_in"/>
<arg name="debug_image" default="~debug_image"/>
<arg name="obstacles_cloud_out" default="~obstacles_cloud_out"/>
<arg name="free_space_cloud_out" default="~free_space_cloud_out"/>
<group ns="$(arg ns)">
......@@ -18,6 +21,9 @@
args="load iri_lidar_obstacle_detector/LidarObstacleDetectorAlgNodelet $(arg lidar_nodelet_manager)"
output="$(arg output)">
<remap from="~pointcloud_in" to="$(arg cloud_in)"/>
<remap from="~obstacles_img/image_raw" to="$(arg debug_image)"/>
<remap from="~obstacles" to="$(arg obstacles_cloud_out)"/>
<remap from="~free_space" to="$(arg free_space_cloud_out)"/>
<rosparam file="$(arg config_file)" command="load"/>
<rosparam file="$(arg ranges_file)" command="load"/>
</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