aligator
0.9.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
#include <aligator/modelling/multibody/frame-translation.hpp>
Public Types | |
using | Scalar = _Scalar |
using | BaseData = typename Base::Data |
using | Model = pinocchio::ModelTpl<Scalar> |
using | ManifoldPtr = xyz::polymorphic<ManifoldAbstractTpl<Scalar>> |
using | SE3 = pinocchio::SE3Tpl<Scalar> |
using | Data = FrameTranslationDataTpl<Scalar> |
Public Types inherited from aligator::UnaryFunctionTpl< _Scalar > | |
using | Scalar |
using | Base |
using | Data |
Public Types inherited from aligator::StageFunctionTpl< _Scalar > | |
using | Scalar |
using | Data |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
ALIGATOR_UNARY_FUNCTION_INTERFACE (Scalar) | |
FrameTranslationResidualTpl (const int ndx, const int nu, const Model &model, const Vector3s &frame_trans, const pinocchio::FrameIndex frame_id) | |
const Vector3s & | getReference () const |
void | setReference (const Eigen::Ref< const Vector3s > &p_new) |
void | evaluate (const ConstVectorRef &x, BaseData &data) const |
void | computeJacobians (const ConstVectorRef &x, BaseData &data) const |
shared_ptr< BaseData > | createData () const |
Instantiate a Data object. | |
Public Member Functions inherited from aligator::UnaryFunctionTpl< _Scalar > | |
ALIGATOR_DYNAMIC_TYPEDEFS (_Scalar) | |
void | evaluate (const ConstVectorRef &x, const ConstVectorRef &, Data &data) const override |
void | computeJacobians (const ConstVectorRef &x, const ConstVectorRef &, Data &data) const override |
virtual void | computeVectorHessianProducts (const ConstVectorRef &, const ConstVectorRef &, Data &) const |
void | computeVectorHessianProducts (const ConstVectorRef &x, const ConstVectorRef &, const ConstVectorRef &lbda, Data &data) const override |
Public Member Functions inherited from aligator::StageFunctionTpl< _Scalar > | |
ALIGATOR_DYNAMIC_TYPEDEFS (_Scalar) | |
StageFunctionTpl (const int ndx, const int nu, const int nr) | |
virtual | ~StageFunctionTpl ()=default |
Public Member Functions inherited from aligator::frame_api | |
pinocchio::FrameIndex | getFrameId () const |
void | setFrameId (const std::size_t id) |
Public Attributes | |
Model | pin_model_ |
Public Attributes inherited from aligator::StageFunctionTpl< _Scalar > | |
const int | ndx1 |
Current state dimension. | |
const int | nu |
Control dimension. | |
const int | nr |
Function codimension. | |
Protected Attributes | |
Vector3s | p_ref_ |
Protected Attributes inherited from aligator::frame_api | |
pinocchio::FrameIndex | pin_frame_id_ |
Definition at line 15 of file frame-translation.hpp.
using aligator::FrameTranslationResidualTpl< _Scalar >::Scalar = _Scalar |
Definition at line 17 of file frame-translation.hpp.
using aligator::FrameTranslationResidualTpl< _Scalar >::BaseData = typename Base::Data |
Definition at line 20 of file frame-translation.hpp.
using aligator::FrameTranslationResidualTpl< _Scalar >::Model = pinocchio::ModelTpl<Scalar> |
Definition at line 21 of file frame-translation.hpp.
using aligator::FrameTranslationResidualTpl< _Scalar >::ManifoldPtr = xyz::polymorphic<ManifoldAbstractTpl<Scalar>> |
Definition at line 22 of file frame-translation.hpp.
using aligator::FrameTranslationResidualTpl< _Scalar >::SE3 = pinocchio::SE3Tpl<Scalar> |
Definition at line 23 of file frame-translation.hpp.
using aligator::FrameTranslationResidualTpl< _Scalar >::Data = FrameTranslationDataTpl<Scalar> |
Definition at line 24 of file frame-translation.hpp.
aligator::FrameTranslationResidualTpl< _Scalar >::FrameTranslationResidualTpl | ( | const int | ndx, |
const int | nu, | ||
const Model & | model, | ||
const Vector3s & | frame_trans, | ||
const pinocchio::FrameIndex | frame_id ) |
aligator::FrameTranslationResidualTpl< _Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
aligator::FrameTranslationResidualTpl< _Scalar >::ALIGATOR_UNARY_FUNCTION_INTERFACE | ( | Scalar | ) |
|
inline |
Definition at line 32 of file frame-translation.hpp.
|
inline |
Definition at line 33 of file frame-translation.hpp.
|
virtual |
Implements aligator::UnaryFunctionTpl< _Scalar >.
|
virtual |
Implements aligator::UnaryFunctionTpl< _Scalar >.
|
inlinevirtual |
Instantiate a Data object.
Reimplemented from aligator::StageFunctionTpl< _Scalar >.
Definition at line 39 of file frame-translation.hpp.
Model aligator::FrameTranslationResidualTpl< _Scalar >::pin_model_ |
Definition at line 26 of file frame-translation.hpp.
|
protected |
Definition at line 44 of file frame-translation.hpp.