A plugin-based map manager using the SimpleMap data structure.
More...
#include <SimpleMapsManager.hpp>
|
std::string | map_path_ |
| Full path to the map file.
|
|
A plugin-based map manager using the SimpleMap data structure.
This manager implements a minimal mapping approach using boolean grid maps (SimpleMap) for both static and dynamic maps. It supports publishing and receiving ROS occupancy grids.
◆ SimpleMapsManager()
◆ ~SimpleMapsManager()
◆ on_initialize()
std::expected< void, std::string > on_initialize |
( |
| ) |
|
|
overridevirtual |
Initializes the maps manager.
Creates necessary publishers/subscribers and initializes the map instances.
- Returns
- std::expected<void, std::string> Success or error string.
◆ set_dynamic_map()
void set_dynamic_map |
( |
const SimpleMap & | new_map | ) |
|
Replaces the current dynamic map.
- Parameters
-
new_map | Shared pointer to a new map object. Must be of type SimpleMap. |
◆ set_static_map()
void set_static_map |
( |
const SimpleMap & | new_map | ) |
|
Replaces the current static map.
- Parameters
-
new_map | Shared pointer to a new map object. Must be of type SimpleMap. |
◆ update()
void update |
( |
NavState & | nav_state | ) |
|
|
overridevirtual |
Updates the internal maps using the current navigation state.
Intended to be called periodically. May perform dynamic map updates based on new sensor data or internal state.
- Parameters
-
nav_state | Current state of the navigation system. |
◆ map_path_
Full path to the map file.
The documentation for this class was generated from the following files: