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 <[email protected]>
  • Loading branch information
cwrx777 committed Mar 25, 2024
1 parent 0ba447f commit 0685ec2
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 0685ec2

Please sign in to comment.