EasyFleet
A simple-by-default framework for multi-robot, multi-capability fleets built on ROS 2
Loading...
Searching...
No Matches
costmap_map_publisher.hpp
1// Copyright 2026 Intelligent Robotics Lab
2//
3// This file is part of the project EasyFleet
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16#ifndef EASYFLEET_NAVIGATION_MANAGER__COSTMAP_MAP_PUBLISHER_HPP_
17#define EASYFLEET_NAVIGATION_MANAGER__COSTMAP_MAP_PUBLISHER_HPP_
18
19#include "easyfleet_navigation_manager/map_publisher_base.hpp"
20#include "nav_msgs/msg/occupancy_grid.hpp"
21
22namespace easyfleet
23{
24
34{
35public:
44 void publish(rclcpp::Node & node) override;
45
46private:
47 rclcpp::Publisher<nav_msgs::msg::OccupancyGrid>::SharedPtr pub_;
48};
49
50} // namespace easyfleet
51
52#endif // EASYFLEET_NAVIGATION_MANAGER__COSTMAP_MAP_PUBLISHER_HPP_
Publishes an OccupancyGrid map on /global_map.
Definition costmap_map_publisher.hpp:34
void publish(rclcpp::Node &node) override
Read "map.package"/"map.map_path_file" from node, load the map they name, and publish it once on /glo...
Definition costmap_map_publisher.cpp:27
One "map type" NavigationManagerNode can publish on /global_map.
Definition map_publisher_base.hpp:33