From e44c5bd5d9f0594596dadc2a1ce81652112ba56d Mon Sep 17 00:00:00 2001 From: Sergi Hernandez Juan <shernand@iri.upc.edu> Date: Thu, 3 Mar 2022 13:53:05 +0100 Subject: [PATCH] Added the output topic remapping to the input arguments. --- launch/node.launch | 2 ++ launch/nodelet.launch | 2 ++ 2 files changed, 4 insertions(+) diff --git a/launch/node.launch b/launch/node.launch index ee4e2c0..baee1bd 100644 --- a/launch/node.launch +++ b/launch/node.launch @@ -7,6 +7,7 @@ <arg name="output" default="screen"/> <arg name="launch_prefix" default=""/> <arg name="cloud_in" default="~pointcloud_in"/> + <arg name="cloud_out" default="~pointcloud_out"/> <group ns="$(arg ns)"> @@ -16,6 +17,7 @@ output="$(arg output)" launch-prefix="$(arg launch_prefix)"> <remap from="~input" to="$(arg cloud_in)"/> + <remap from="~output" to="$(arg cloud_out)"/> <rosparam file="$(arg config_file)" command="load"/> </node> diff --git a/launch/nodelet.launch b/launch/nodelet.launch index ce5e906..1dd6e53 100644 --- a/launch/nodelet.launch +++ b/launch/nodelet.launch @@ -8,6 +8,7 @@ <arg name="output" default="screen"/> <arg name="launch_prefix" default=""/> <arg name="cloud_in" default="~pointcloud_in"/> + <arg name="cloud_out" default="~pointcloud_out"/> <group ns="$(arg ns)"> @@ -17,6 +18,7 @@ args="load iri_average_point_cloud/AveragePointCloudAlgNodelet $(arg camera_nodelet_manager)" output="$(arg output)"> <remap from="~input" to="$(arg cloud_in)"/> + <remap from="~output" to="$(arg cloud_out)"/> <rosparam file="$(arg config_file)" command="load"/> </node> -- GitLab