aligator  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear 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
11void exposePinocchioFunctions();
12void exposeFreeFwdDynamics();
13void exposeKinodynamics();
14#ifdef ALIGATOR_PINOCCHIO_V3
15void exposeConstrainedFwdDynamics();
16#endif
17
18void exposePinocchioFeatures() {
19 bp::import("pinocchio");
20 exposePinocchioFunctions();
21
22 {
23 bp::scope dyn = get_namespace("dynamics");
24 exposeFreeFwdDynamics();
25 exposeKinodynamics();
26
27#ifdef ALIGATOR_PINOCCHIO_V3
28 exposeConstrainedFwdDynamics();
29#endif
30 }
31}
32
33#endif
34
35} // namespace python
36} // namespace aligator
Main package namespace.