aligator 0.19.0
A versatile and efficient C++ library for real-time constrained 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 {
12
13template <typename Class>
14struct FrameAPIVisitor : bp::def_visitor<FrameAPIVisitor<Class>> {
15
16 template <class PyClass> void visit(PyClass &cl) const {
17 cl.add_property("frame_id", &Class::getFrameId, &Class::setFrameId,
18 "Get the Pinocchio frame ID.");
19 }
20};
21
22} // namespace python
23} // namespace aligator
PINOCCHIO_ALIGNED_STD_VECTOR(RCD) RCDVector
Definition fwd.hpp:27
PINOCCHIO_ALIGNED_STD_VECTOR(RCM) RCMVector
Definition fwd.hpp:26
The Python bindings.
Definition blk-matrix.hpp:7
Main package namespace.