Control Libraries 7.4.0
Loading...
Searching...
No Matches
robot_model_bindings.cpp
1#include "robot_model_bindings.hpp"
2
3#define STRINGIFY(x) #x
4#define MACRO_STRINGIFY(x) STRINGIFY(x)
5
6PYBIND11_MODULE(robot_model, m) {
7 m.doc() = "Python bindings for control libraries robot_model";
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 auto m_sub = m.def_submodule("exceptions", "Submodule for custom robot model exceptions");
16 bind_exceptions(m_sub);
17 bind_model(m);
18}
Robot kinematics and dynamics.