aligator  0.9.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
multibody-utils.hpp
Go to the documentation of this file.
1
3#pragma once
4
7
8namespace aligator {
9namespace python {
10
11template <typename Class>
12struct FrameAPIVisitor : bp::def_visitor<FrameAPIVisitor<Class>> {
13
14 template <class PyClass> void visit(PyClass &cl) const {
15 cl.add_property("frame_id", &Class::getFrameId, &Class::setFrameId,
16 "Get the Pinocchio frame ID.");
17 }
18};
19
20} // namespace python
21} // namespace aligator
Main package namespace.