Skip to content

Commit fe1b9e6

Browse files
committed
bindings
1 parent 9e216ef commit fe1b9e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/pyxbot2_interface.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ PYBIND11_MODULE(pyxbot2_interface, m) {
2323
.def_static("Damping", &ControlMode::Damping)
2424
.def_static("Impedance", &ControlMode::Impedance)
2525
.def_static("PosImpedance", &ControlMode::PosImpedance)
26+
.def_static("None_", &ControlMode::None)
2627
.def("type", &ControlMode::type)
2728
.def(py::self + py::self)
2829
;
2930

3031
py::enum_<ControlMode::Type>(controlMode, "Type", py::arithmetic())
32+
.value("NONE", ControlMode::Type::NONE)
3133
.value("POSITION", ControlMode::Type::POSITION)
3234
.value("VELOCITY", ControlMode::Type::VELOCITY)
3335
.value("EFFORT", ControlMode::Type::EFFORT)

0 commit comments

Comments
 (0)