aligator  0.16.0
A versatile and efficient C++ library for real-time constrained trajectory optimization.
Loading...
Searching...
No Matches
expose-pinocchio-features.cpp
Go to the documentation of this file.
1
5
6namespace aligator {
7namespace python {
8
9#ifdef ALIGATOR_WITH_PINOCCHIO
10
16
18 bp::import("pinocchio");
21
22 {
23 bp::scope dyn = get_namespace("dynamics");
27 }
28}
29
30#endif
31
32} // namespace python
33} // namespace aligator
The Python bindings.
Definition blk-matrix.hpp:5
bp::object get_namespace(const std::string &name)
Create or retrieve a Python scope (that is, a class or module namespace).
Definition utils.hpp:22
void exposePinocchioFeatures()
Expose features using the Pinocchio rigid dynamics library.
Main package namespace.