|
aligator
0.16.0
A versatile and efficient C++ library for real-time constrained trajectory optimization.
|
#include <aligator/modelling/multibody/gravity-compensation-residual.hpp>
Classes | |
| struct | Data |
Public Types | |
| using | Scalar = _Scalar |
| using | Base = StageFunctionTpl<Scalar> |
| using | BaseData = StageFunctionDataTpl<Scalar> |
| using | Model = pinocchio::ModelTpl<Scalar> |
Public Types inherited from aligator::StageFunctionTpl< _Scalar > | |
| using | Scalar = _Scalar |
| using | Data = StageFunctionDataTpl<Scalar> |
Public Member Functions | |
| ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
| GravityCompensationResidualTpl (int ndx, const MatrixXs &actuation_matrix, const Model &model) | |
| Constructor with an actuation matrix. | |
| GravityCompensationResidualTpl (int ndx, const Model &model) | |
| Full actuation constructor. | |
| void | evaluate (const ConstVectorRef &x, const ConstVectorRef &u, BaseData &data) const |
| Evaluate the function. | |
| void | computeJacobians (const ConstVectorRef &x, const ConstVectorRef &u, BaseData &data) const |
| Compute Jacobians of this function. | |
| shared_ptr< BaseData > | createData () const |
| Instantiate a Data object. | |
Public Member Functions inherited from aligator::StageFunctionTpl< _Scalar > | |
| ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
| StageFunctionTpl (const int ndx, const int nu, const int nr) | |
| virtual void | computeVectorHessianProducts (const ConstVectorRef &x, const ConstVectorRef &u, const ConstVectorRef &lbda, Data &data) const |
| Compute the vector-hessian products of this function. | |
| virtual | ~StageFunctionTpl ()=default |
Public Attributes | |
| Model | pin_model_ |
| MatrixXs | actuation_matrix_ |
| bool | use_actuation_matrix |
Public Attributes inherited from aligator::StageFunctionTpl< _Scalar > | |
| const int | ndx1 |
| Current state dimension. | |
| const int | nu |
| Control dimension. | |
| const int | nr |
| Function codimension. | |
Definition at line 11 of file gravity-compensation-residual.hpp.
| using aligator::GravityCompensationResidualTpl< _Scalar >::Scalar = _Scalar |
Definition at line 12 of file gravity-compensation-residual.hpp.
| using aligator::GravityCompensationResidualTpl< _Scalar >::Base = StageFunctionTpl<Scalar> |
Definition at line 14 of file gravity-compensation-residual.hpp.
| using aligator::GravityCompensationResidualTpl< _Scalar >::BaseData = StageFunctionDataTpl<Scalar> |
Definition at line 15 of file gravity-compensation-residual.hpp.
| using aligator::GravityCompensationResidualTpl< _Scalar >::Model = pinocchio::ModelTpl<Scalar> |
Definition at line 16 of file gravity-compensation-residual.hpp.
| aligator::GravityCompensationResidualTpl< _Scalar >::GravityCompensationResidualTpl | ( | int | ndx, |
| const MatrixXs & | actuation_matrix, | ||
| const Model & | model ) |
Constructor with an actuation matrix.
| aligator::GravityCompensationResidualTpl< _Scalar >::GravityCompensationResidualTpl | ( | int | ndx, |
| const Model & | model ) |
Full actuation constructor.
| aligator::GravityCompensationResidualTpl< _Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
virtual |
Evaluate the function.
| x | Current state. |
| u | Controls. |
| data | Data holding struct. |
Implements aligator::StageFunctionTpl< _Scalar >.
|
virtual |
Compute Jacobians of this function.
This computes the Jacobians \( (\frac{\partial f}{\partial x}, \frac{\partial f}{\partial u}, \frac{\partial f}{\partial x'}) \)
| x | Current state. |
| u | Controls. |
| y | Next state. |
| data | Data holding struct. |
Implements aligator::StageFunctionTpl< _Scalar >.
|
virtual |
Instantiate a Data object.
Reimplemented from aligator::StageFunctionTpl< _Scalar >.
| Model aligator::GravityCompensationResidualTpl< _Scalar >::pin_model_ |
Definition at line 18 of file gravity-compensation-residual.hpp.
| MatrixXs aligator::GravityCompensationResidualTpl< _Scalar >::actuation_matrix_ |
Definition at line 19 of file gravity-compensation-residual.hpp.
| bool aligator::GravityCompensationResidualTpl< _Scalar >::use_actuation_matrix |
Definition at line 20 of file gravity-compensation-residual.hpp.