EasyNav Gridmap Stack
Loading...
Searching...
No Matches
utils.hpp
Go to the documentation of this file.
1// Copyright 2025 Intelligent Robotics Lab
2//
3// This file is part of the project Easy Navigation (EasyNav in sh0rt)
4// licensed under the GNU General Public License v3.0.
5// See <http://www.gnu.org/licenses/> for details.
6//
7// Easy Navigation program is free software: you can redistribute it and/or modify
8// it under the terms of the GNU General Public License as published by
9// the Free Software Foundation, either version 3 of the License, or
10// (at your option) any later version.
11//
12// This program is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15// GNU General Public License for more details.
16//
17// You should have received a copy of the GNU General Public License
18// along with this program. If not, see <http://www.gnu.org/licenses/>.
19
22
23#ifndef EASYNAV_GRIDMAP_MAPS_MANAGER__UTILS_HPP_
24#define EASYNAV_GRIDMAP_MAPS_MANAGER__UTILS_HPP_
25
26
27#include "grid_map_msgs/msg/grid_map.hpp"
28#include "grid_map_ros/grid_map_ros.hpp"
29
30namespace easynav
31{
32
33bool save_gridmap(const std::string & filename, const grid_map::GridMap & map);
34bool load_gridmap(const std::string & filename, grid_map::GridMap & map);
35
36} // namespace easynav
37
38#endif // EASYNAV_GRIDMAP_MAPS_MANAGER__GRIDMAPMAPSBUILDERNODE_HPP_
Definition GridMapAStarPlanner.hpp:41
bool load_gridmap(const std::string &filename, grid_map::GridMap &map)
Definition utils.cpp:87
bool save_gridmap(const std::string &filename, const grid_map::GridMap &map)
Definition utils.cpp:38