Class MapSaver
Defined in File map_saver.hpp
Inheritance Relationships
Base Type
public nav2_util::LifecycleNode
Class Documentation
A class that provides map saving methods and services.
Public Functions
Constructor for the nav2_map_server::MapSaver.
- Parameters:
options – Additional options to control creation of the node.
Destructor for the nav2_map_server::MapServer.
Read a message from incoming map topic and save map to a file.
- Parameters:
map_topic – Incoming map topic name
save_parameters – Map saving parameters.
- Returns:
true of false
Sets up map saving service.
- Parameters:
state – Lifecycle Node’s state
- Returns:
Success or Failure
Called when node switched to active state.
- Parameters:
state – Lifecycle Node’s state
- Returns:
Success or Failure
Called when node switched to inactive state.
- Parameters:
state – Lifecycle Node’s state
- Returns:
Success or Failure
Called when it is required node clean-up.
- Parameters:
state – Lifecycle Node’s state
- Returns:
Success or Failure
Called when in Shutdown state.
- Parameters:
state – Lifecycle Node’s state
- Returns:
Success or Failure
Protected Functions
Map saving service callback.
- Parameters:
request_header – Service request header
request – Service request
response – Service response
Protected Attributes