Function rmf_fleet_adapter::agv::parse_graph

Function Documentation

rmf_traffic::agv::Graph rmf_fleet_adapter::agv::parse_graph(const std::string &filename, const rmf_traffic::agv::VehicleTraits &vehicle_traits)

Parse the graph described by a yaml file.

Warning

This will throw a std::runtime_error if the file has a syntax error.