EasyNav Gridmap Stack
Loading...
Searching...
No Matches
GridmapMapsManager Class Reference

A plugin-based map manager using Gridmaps. More...

#include <GridmapMapsManager.hpp>

Inheritance diagram for GridmapMapsManager:
Collaboration diagram for GridmapMapsManager:

Public Member Functions

 GridmapMapsManager ()
 Default constructor.
 
virtual std::expected< void, std::string > on_initialize () override
 Initializes the maps manager.
 
virtual void update (NavState &nav_state) override
 Updates the internal maps using the current navigation state.
 
 ~GridmapMapsManager ()
 Destructor.
 

Protected Attributes

std::string map_path_
 Full path to the map file.
 

Detailed Description

A plugin-based map manager using Gridmaps.

Constructor & Destructor Documentation

◆ GridmapMapsManager()

Default constructor.

◆ ~GridmapMapsManager()

Destructor.

Member Function Documentation

◆ 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.

◆ 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_stateCurrent state of the navigation system.

Member Data Documentation

◆ map_path_

std::string map_path_
protected

Full path to the map file.


The documentation for this class was generated from the following files: