From 690eb0c4aa55ce1ebd3f41d1710b4681d26bc542 Mon Sep 17 00:00:00 2001 From: fherrero <fherrero@iri.upc.edu> Date: Fri, 14 Oct 2022 14:19:38 +0200 Subject: [PATCH] Fix move_base map remapping. Without slash or it does not work --- launch/include/move_base.launch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launch/include/move_base.launch b/launch/include/move_base.launch index 94c2e3f..e13f9ec 100644 --- a/launch/include/move_base.launch +++ b/launch/include/move_base.launch @@ -10,7 +10,7 @@ <arg name="costmap_local_params" default="local_params.yaml"/> <arg name="costmap_global_params" default="global_params.yaml"/> <arg name="use_map" default="true"/> - <arg name="map_topic" default="/$(arg ns)/map)"/> + <arg name="map_topic" default="/$(arg ns)/map"/> <arg name="odom_topic" default="/$(arg ns)/odom"/> <arg name="cmd_vel_topic" default="/$(arg ns)/navigation/cmd_vel"/> <arg name="local_planner" default="dwa"/> @@ -29,7 +29,7 @@ name="$(arg move_base_name)" output="$(arg output)" launch-prefix="$(arg launch_prefix)"> - <remap from="/map" to="$(arg map_topic)" /> + <remap from="map" to="$(arg map_topic)" /> <remap from="cmd_vel" to="$(arg cmd_vel_topic)" /> <remap from="odom" to="$(arg odom_topic)" /> <remap from="move_base_simple/goal" to="$(arg move_base_name)_simple/goal" /> -- GitLab