diff --git a/nav2_rviz_plugins/src/costmap_cost_tool.cpp b/nav2_rviz_plugins/src/costmap_cost_tool.cpp index 47539607ebb..1f83425b064 100644 --- a/nav2_rviz_plugins/src/costmap_cost_tool.cpp +++ b/nav2_rviz_plugins/src/costmap_cost_tool.cpp @@ -54,12 +54,12 @@ void CostmapCostTool::onInitialize() rclcpp::Node::SharedPtr node = node_ptr_->get_raw_node(); local_cost_client_ = std::make_shared>( - "/local_costmap/get_cost_local_costmap", + "local_costmap/get_cost_local_costmap", node, false /* Does not create and spin an internal executor*/); global_cost_client_ = std::make_shared>( - "/global_costmap/get_cost_global_costmap", + "global_costmap/get_cost_global_costmap", node, false /* Does not create and spin an internal executor*/); }