Skip to content

Commit 49358df

Browse files
authored
Feature/pybind11 planner (#94)
* Add readonly property Plan::Waypoint::approach_lanes Signed-off-by: Tong-Kiat Tan <[email protected]> * Add readonly property Plan::Waypoint::itinerary_index Signed-off-by: Tong-Kiat Tan <[email protected]> * Add readonly property Plan::Waypoint::trajectory_index Signed-off-by: Tong-Kiat Tan <[email protected]>
1 parent 5b367d0 commit 49358df

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rmf_fleet_adapter_python/src/planner/planner.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@ void bind_plan(py::module& m)
142142
})
143143
.def_property_readonly("graph_index",
144144
&Plan::Waypoint::graph_index)
145+
.def_property_readonly("approach_lanes",
146+
&Plan::Waypoint::approach_lanes)
147+
.def_property_readonly("itinerary_index",
148+
&Plan::Waypoint::itinerary_index)
149+
.def_property_readonly("trajectory_index",
150+
&Plan::Waypoint::trajectory_index)
145151
.def_property_readonly("event",
146152
&Plan::Waypoint::event);
147153

0 commit comments

Comments
 (0)