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
5
#include "
aligator/python/fwd.hpp
"
6
#include "
aligator/modelling/multibody/context.hpp
"
7
8
namespace
aligator
{
9
namespace
python {
10
11
template
<
typename
Class>
12
struct
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
fwd.hpp
context.hpp
aligator
Main package namespace.
Definition
action-model-wrap.hpp:14
aligator::python::FrameAPIVisitor
Definition
multibody-utils.hpp:12
aligator::python::FrameAPIVisitor::visit
void visit(PyClass &cl) const
Definition
multibody-utils.hpp:14
bindings
python
include
aligator
python
modelling
multibody-utils.hpp
Generated by
1.11.0