From e820a9c9726df628e285fe5cd74be742a7e331f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Mart=C3=ADn=20Rico?= Date: Fri, 1 Aug 2025 09:00:32 +0200 Subject: [PATCH] Add default map filename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Francisco Martín Rico --- .../tests/simple_maps_tests.cpp | 17 ++++++++++++++++- .../SimpleMapsManager.cpp | 1 + 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/easynav_simple_common/tests/simple_maps_tests.cpp b/easynav_simple_common/tests/simple_maps_tests.cpp index 2e3b538..d3f97cb 100644 --- a/easynav_simple_common/tests/simple_maps_tests.cpp +++ b/easynav_simple_common/tests/simple_maps_tests.cpp @@ -1,6 +1,21 @@ // Copyright 2025 Intelligent Robotics Lab // -// Licensed under the GNU General Public License v3.0. +// This file is part of the project Easy Navigation (EasyNav in short) +// licensed under the GNU General Public License v3.0. +// See for details. +// +// Easy Navigation program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . #include diff --git a/easynav_simple_maps_manager/src/easynav_simple_maps_manager/SimpleMapsManager.cpp b/easynav_simple_maps_manager/src/easynav_simple_maps_manager/SimpleMapsManager.cpp index 81c9c34..9cc9375 100644 --- a/easynav_simple_maps_manager/src/easynav_simple_maps_manager/SimpleMapsManager.cpp +++ b/easynav_simple_maps_manager/src/easynav_simple_maps_manager/SimpleMapsManager.cpp @@ -65,6 +65,7 @@ SimpleMapsManager::on_initialize() node->get_parameter(plugin_name + ".package", package_name); node->get_parameter(plugin_name + ".map_path_file", map_path_file); + map_path_ = "/tmp/default.map"; if (package_name != "" && map_path_file != "") { std::string pkgpath; try {