From 044fe62fb4743b62bc23bddf2908c0b47aa4dcbb Mon Sep 17 00:00:00 2001 From: "gene.su" Date: Thu, 21 Sep 2023 16:44:11 +0800 Subject: [PATCH] fix mismatched service name in rviz plugin --- rviz_plugin/slam_toolbox_rviz_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rviz_plugin/slam_toolbox_rviz_plugin.cpp b/rviz_plugin/slam_toolbox_rviz_plugin.cpp index 1575c53c8..926eca577 100644 --- a/rviz_plugin/slam_toolbox_rviz_plugin.cpp +++ b/rviz_plugin/slam_toolbox_rviz_plugin.cpp @@ -78,9 +78,9 @@ SlamToolboxPlugin::SlamToolboxPlugin(QWidget * parent) "/slam_toolbox/pause_new_measurements"); _load_submap_for_merging = ros_node_->create_client( - "/map_merging/add_submap"); + "/slam_toolbox/add_submap"); _merge = ros_node_->create_client( - "/map_merging/merge_submaps"); + "/slam_toolbox/merge_submaps"); _vbox = new QVBoxLayout(); _hbox1 = new QHBoxLayout();