Control Libraries 7.4.0
Loading...
Searching...
No Matches
controllers_bindings.cpp
1#include "controllers_bindings.hpp"
2
3#define STRINGIFY(x) #x
4#define MACRO_STRINGIFY(x) STRINGIFY(x)
5
6PYBIND11_MODULE(controllers, m) {
7 m.doc() = "Python bindings for control libraries controllers";
8
9 #ifdef MODULE_VERSION_INFO
10 m.attr("__version__") = MACRO_STRINGIFY(MODULE_VERSION_INFO);
11 #else
12 m.attr("__version__") = "dev";
13 #endif
14
15 py::module_::import("state_representation");
16
17 auto m_sub = m.def_submodule("exceptions", "Submodule for custom controllers exceptions");
18 bind_exceptions(m_sub);
19 bind_controller_type(m);
20 bind_computational_space(m);
21 bind_cartesian_controllers(m);
22 bind_joint_controllers(m);
23}
Systems to determine a command output from measured and desired inputs.