Class GraphSaver
Defined in File graph_saver.hpp
Class Documentation
An object to save graph objects to a file.
Public Functions
A constructor for nav2_route::GraphSaver.
- Parameters:
node – Lifecycle node encapsulated by the GraphSaver
tf – A tf buffer
frame – Coordinate frame that the graph belongs to
A destructor for nav2_route::GraphSaver.
Saves a graph object to a file.
- Parameters:
graph – Graph to save
filepath – The filepath to the graph data
- Returns:
bool If successful
Transform the coordinates in the graph to the route frame.
- Parameters:
[in/out] – graph The graph to be transformed
- Returns:
True if transformation was successful
Protected Attributes