Skip to content

Commit

Permalink
Add all_known_lifts in Graph binding (#336)
Browse files Browse the repository at this point in the history
Signed-off-by: Charly Wu <charlywu@medinno.com>
Signed-off-by: Arjo Chakravarty <arjoc@google.com>
  • Loading branch information
cwrx777 authored and arjo129 committed Jun 7, 2024
1 parent 07b4a52 commit fac1703
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rmf_fleet_adapter_python/src/graph/graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,10 @@ void bind_graph(py::module& m)
.def_property_readonly("num_lanes", &Graph::num_lanes)
.def("lanes_from_waypoint",
py::overload_cast<std::size_t>(&Graph::lanes_from, py::const_),
py::arg("wp_index"));
py::arg("wp_index"))

//Lifts
.def_property_readonly("all_known_lifts", &Graph::all_known_lifts);

// PARSE GRAPH ==============================================================
// Helper function to parse a graph from a yaml file
Expand Down

0 comments on commit fac1703

Please sign in to comment.