Skip to content

Commit 63ed4f1

Browse files
committed
Another traversability place python fix
1 parent 1ca26b9 commit 63ed4f1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

python/bindings/src/attributes.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,12 @@ void init_attributes(py::module_& m) {
180180
.def_readwrite("mesh_vertex_labels", &Place2dNodeAttributes::mesh_vertex_labels)
181181
.def_readwrite("deformation_connections", &Place2dNodeAttributes::deformation_connections);
182182

183+
py::enum_<TraversabilityState>(m, "TraversabilityState")
184+
.value("UNKNOWN", TraversabilityState::UNKNOWN)
185+
.value("TRAVERSABLE", TraversabilityState::TRAVERSABLE)
186+
.value("INTRAVERSABLE", TraversabilityState::INTRAVERSABLE)
187+
.value("TRAVERSED", TraversabilityState::TRAVERSED);
188+
183189
py::class_<BoundaryInfo>(m, "BoundaryInfo")
184190
.def(py::init<>())
185191
.def_readwrite("min", &BoundaryInfo::min)

0 commit comments

Comments
 (0)