Class GraphFileLoader
Defined in File graph_file_loader.hpp
Inheritance Relationships
Derived Type
public nav2_route::GeoJsonGraphFileLoader
(Class GeoJsonGraphFileLoader)
Class Documentation
A plugin interface to parse a file into the graph.
Subclassed by nav2_route::GeoJsonGraphFileLoader
Public Types
Public Functions
Constructor.
Virtual destructor.
Configure the graph file loader, but do not store the node.
- Parameters:
parent – pointer to user’s node
Method to load the graph from the filepath.
- Parameters:
graph – The graph to populate
filepath – The file to parse
idx_map – A map translating nodeid’s to graph idxs for use in graph modification services and idx-based route planning requests. This is much faster than using a map the full graph data structure.
- Returns:
true if graph was successfully loaded