Skip to content

Commit

Permalink
Add enum rmf_fleet_adapter::agv::RobotUpdateHandle::Unstable::Decision
Browse files Browse the repository at this point in the history
Signed-off-by: Tong-Kiat Tan <[email protected]>
  • Loading branch information
tongkiat committed Aug 11, 2021
1 parent eb81abd commit 355777b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rmf_fleet_adapter_python/src/adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,17 @@ PYBIND11_MODULE(rmf_adapter, m) {
py::arg("wait_duration") = std::chrono::seconds(10),
"Experimental API to set the lift entry watchdog");

auto m_robot_update_handle = m.def_submodule("robot_update_handle");

py::enum_<agv::RobotUpdateHandle::Unstable::Decision>(
m_robot_update_handle, "Decision")
.value("Undefined",
agv::RobotUpdateHandle::Unstable::Decision::Undefined)
.value("Clear",
agv::RobotUpdateHandle::Unstable::Decision::Clear)
.value("Crowded",
agv::RobotUpdateHandle::Unstable::Decision::Crowded);

// FLEETUPDATE HANDLE ======================================================
py::class_<agv::FleetUpdateHandle,
std::shared_ptr<agv::FleetUpdateHandle>>(
Expand Down

0 comments on commit 355777b

Please sign in to comment.