|
Nav2 Navigation Stack - humble
humble
ROS 2 Navigation Stack
|
A plugin interface to parse a file into the graph. More...
#include <nav2_route/include/nav2_route/interfaces/graph_file_saver.hpp>

Public Types | |
| using | Ptr = std::shared_ptr< GraphFileSaver > |
Public Member Functions | |
| GraphFileSaver ()=default | |
| Constructor. | |
| virtual | ~GraphFileSaver ()=default |
| Virtual destructor. | |
| virtual void | configure (const rclcpp_lifecycle::LifecycleNode::SharedPtr node)=0 |
| Configure the graph file saver, but do not store the node. More... | |
| virtual bool | saveGraphToFile (Graph &graph, std::string filepath)=0 |
| Method to save the graph to the filepath. More... | |
A plugin interface to parse a file into the graph.
Definition at line 33 of file graph_file_saver.hpp.
|
pure virtual |
Configure the graph file saver, but do not store the node.
| parent | pointer to user's node |
|
pure virtual |
Method to save the graph to the filepath.
| graph | The graph to save |
| filepath | The path to save the file to |
Implemented in nav2_route::GeoJsonGraphFileSaver.