Skip to content

Commit e118271

Browse files
committed
Add enum rmf_fleet_adapter::agv::RobotUpdateHandle::Unstable::Decision
1 parent 9891534 commit e118271

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

rmf_fleet_adapter_python/src/adapter.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,17 @@ PYBIND11_MODULE(rmf_adapter, m) {
139139
py::arg("wait_duration") = std::chrono::seconds(10),
140140
"Experimental API to set the lift entry watchdog");
141141

142+
auto m_robot_update_handle = m.def_submodule("robot_update_handle");
143+
144+
py::enum_<agv::RobotUpdateHandle::Unstable::Decision>(
145+
m_robot_update_handle, "Decision")
146+
.value("Undefined",
147+
agv::RobotUpdateHandle::Unstable::Decision::Undefined)
148+
.value("Clear",
149+
agv::RobotUpdateHandle::Unstable::Decision::Clear)
150+
.value("Crowded",
151+
agv::RobotUpdateHandle::Unstable::Decision::Crowded);
152+
142153
// FLEETUPDATE HANDLE ======================================================
143154
py::class_<agv::FleetUpdateHandle,
144155
std::shared_ptr<agv::FleetUpdateHandle>>(

0 commit comments

Comments
 (0)