aligator 0.17.1
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 {
10using RCMVector = PINOCCHIO_ALIGNED_STD_VECTOR(context::RCM);
11using RCDVector = PINOCCHIO_ALIGNED_STD_VECTOR(context::RCD);
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::RigidConstraintModelTpl< Scalar, Options > RCM
Definition fwd.hpp:24
pinocchio::RigidConstraintDataTpl< Scalar, Options > RCD
Definition fwd.hpp:25
The Python bindings.
Definition blk-matrix.hpp:7
PINOCCHIO_ALIGNED_STD_VECTOR(context::RCM) RCMVector
PINOCCHIO_ALIGNED_STD_VECTOR(context::RCD) RCDVector
Main package namespace.