EasyFleet
A simple-by-default framework for multi-robot, multi-capability fleets built on ROS 2
Toggle main menu visibility
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
22
namespace
easyfleet
23
{
24
33
class
CostmapMapPublisher
:
public
MapPublisherBase
34
{
35
public
:
44
void
publish
(rclcpp::Node & node)
override
;
45
46
private
:
47
rclcpp::Publisher<nav_msgs::msg::OccupancyGrid>::SharedPtr pub_;
48
};
49
50
}
// namespace easyfleet
51
52
#endif
// EASYFLEET_NAVIGATION_MANAGER__COSTMAP_MAP_PUBLISHER_HPP_
easyfleet::CostmapMapPublisher
Publishes an OccupancyGrid map on /global_map.
Definition
costmap_map_publisher.hpp:34
easyfleet::CostmapMapPublisher::publish
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
easyfleet::MapPublisherBase
One "map type" NavigationManagerNode can publish on /global_map.
Definition
map_publisher_base.hpp:33
easyfleet_navigation_manager
include
easyfleet_navigation_manager
costmap_map_publisher.hpp
Generated by
1.17.0