EasyNav Plugins
Loading...
Searching...
No Matches
BonxaiMapsManager Class Reference

A plugin-based map manager using the SimpleMap data structure. More...

#include <BonxaiMapsManager.hpp>

Inheritance diagram for BonxaiMapsManager:
Collaboration diagram for BonxaiMapsManager:

Public Member Functions

 BonxaiMapsManager ()
 Default constructor.
virtual void on_initialize () override
 Initializes the maps manager.
virtual void update (::easynav::NavState &nav_state) override
 Updates the internal maps using the current navigation state.
 ~BonxaiMapsManager ()
 Destructor.

Protected Attributes

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ BonxaiMapsManager()

BonxaiMapsManager ( )

Default constructor.

◆ ~BonxaiMapsManager()

Destructor.

Member Function Documentation

◆ on_initialize()

void on_initialize ( )
overridevirtual

Initializes the maps manager.

Creates necessary publishers/subscribers and initializes the map instances.

Exceptions
std::runtime_errorif initialization fails.

◆ update()

void update ( ::easynav::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: