EasyNav Simple Stack
|
The SimpleMapsManager
plugin provides a lightweight, ROS 2-compatible map management component for the Easy Navigation (EasyNav) framework. It is based on a 2D boolean grid (SimpleMap
) and is optimized for efficient updates and metric conversion. This plugin can handle both static and dynamic map layers, integrating sensor-based perception to update the dynamic map.
OccupancyGrid
messages.nav_msgs/msg/OccupancyGrid
.pluginlib
for dynamic loading.All parameters must be defined in the namespace corresponding to the plugin name (e.g., my_plugin.package
, my_plugin.map_path_file
):
Name | Type | Description | Default |
---|---|---|---|
plugin_name.package | string | Name of the ROS 2 package containing the static map file. | "" |
plugin_name.map_path_file | string | Path to the map file (relative to the specified package). | "" |
If both parameters are provided, the plugin loads the static map from the resolved file path during initialization.
Topic | Type | Direction | Description |
---|---|---|---|
<node>/<plugin_name>/map | nav_msgs/msg/OccupancyGrid | Publisher | Published static map (latched). |
<node>/<plugin_name>/dynamic_map | nav_msgs/msg/OccupancyGrid | Publisher | Dynamic map updated based on sensor data. |
<node>/<plugin_name>/incoming_map | nav_msgs/msg/OccupancyGrid | Subscriber | Allows runtime map replacement via messages. |
Service | Type | Description |
---|---|---|
<node>/<plugin_name>/savemap | std_srvs/srv/Trigger | Saves the current static map to its original path |
Map files used by SimpleMap
follow a plain-text format:
0
for free and 1
for occupied cells.To save the current map to the original file location:
This plugin is part of the Easy Navigation (EasyNav) framework and is released under the GNU General Public License v3.0.