aligator
0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
This residual returns the derivative of centroidal momentum for a kinodynamics model. More...
#include <aligator/modelling/multibody/centroidal-momentum.hpp>
Public Types | |
using | Scalar = _Scalar |
using | Base = UnaryFunctionTpl<Scalar> |
using | BaseData = typename Base::Data |
using | Model = pinocchio::ModelTpl<Scalar> |
using | SE3 = pinocchio::SE3Tpl<Scalar> |
using | Data = CentroidalMomentumDataTpl<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) | |
CentroidalMomentumResidualTpl (const int ndx, const int nu, const Model &model, const Vector6s &h_ref) | |
void | evaluate (const ConstVectorRef &x, BaseData &data) const |
void | computeJacobians (const ConstVectorRef &x, BaseData &data) const |
const Vector6s & | getReference () const |
void | setReference (const Eigen::Ref< const Vector6s > &h_new) |
shared_ptr< BaseData > | createData () const |
Instantiate a Data object. | |
Public Member Functions inherited from aligator::UnaryFunctionTpl< _Scalar > | |
ALIGATOR_DYNAMIC_TYPEDEFS (_Scalar) | |
virtual void | evaluate (const ConstVectorRef &x, Data &data) const=0 |
void | evaluate (const ConstVectorRef &x, const ConstVectorRef &, Data &data) const override |
virtual void | computeJacobians (const ConstVectorRef &x, Data &data) const=0 |
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 Attributes | |
Model | pin_model_ |
Vector6s | h_ref_ |
Public Attributes inherited from aligator::StageFunctionTpl< _Scalar > | |
const int | ndx1 |
Current state dimension. | |
const int | nu |
Control dimension. | |
const int | nr |
Function codimension. | |
This residual returns the derivative of centroidal momentum for a kinodynamics model.
Definition at line 18 of file centroidal-momentum.hpp.
using aligator::CentroidalMomentumResidualTpl< _Scalar >::Scalar = _Scalar |
Definition at line 20 of file centroidal-momentum.hpp.
using aligator::CentroidalMomentumResidualTpl< _Scalar >::Base = UnaryFunctionTpl<Scalar> |
Definition at line 22 of file centroidal-momentum.hpp.
using aligator::CentroidalMomentumResidualTpl< _Scalar >::BaseData = typename Base::Data |
Definition at line 23 of file centroidal-momentum.hpp.
using aligator::CentroidalMomentumResidualTpl< _Scalar >::Model = pinocchio::ModelTpl<Scalar> |
Definition at line 24 of file centroidal-momentum.hpp.
using aligator::CentroidalMomentumResidualTpl< _Scalar >::SE3 = pinocchio::SE3Tpl<Scalar> |
Definition at line 25 of file centroidal-momentum.hpp.
using aligator::CentroidalMomentumResidualTpl< _Scalar >::Data = CentroidalMomentumDataTpl<Scalar> |
Definition at line 26 of file centroidal-momentum.hpp.
|
inline |
Definition at line 31 of file centroidal-momentum.hpp.
aligator::CentroidalMomentumResidualTpl< _Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
void aligator::CentroidalMomentumResidualTpl< _Scalar >::evaluate | ( | const ConstVectorRef & | x, |
BaseData & | data ) const |
void aligator::CentroidalMomentumResidualTpl< _Scalar >::computeJacobians | ( | const ConstVectorRef & | x, |
BaseData & | data ) const |
|
inline |
Definition at line 39 of file centroidal-momentum.hpp.
|
inline |
Definition at line 40 of file centroidal-momentum.hpp.
|
inlinevirtual |
Instantiate a Data object.
Reimplemented from aligator::StageFunctionTpl< _Scalar >.
Definition at line 42 of file centroidal-momentum.hpp.
Model aligator::CentroidalMomentumResidualTpl< _Scalar >::pin_model_ |
Definition at line 28 of file centroidal-momentum.hpp.
Vector6s aligator::CentroidalMomentumResidualTpl< _Scalar >::h_ref_ |
Definition at line 29 of file centroidal-momentum.hpp.