aligator
0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
#include <aligator/modelling/centroidal/centroidal-wrench-cone.hpp>
Public Types | |
using | Scalar = _Scalar |
using | Base = StageFunctionTpl<Scalar> |
using | BaseData = typename Base::Data |
using | Data = CentroidalWrenchConeDataTpl<Scalar> |
Public Types inherited from aligator::StageFunctionTpl< _Scalar > | |
using | Scalar |
using | Data |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
CentroidalWrenchConeResidualTpl (const int ndx, const int nu, const int k, const double mu, const double half_length, const double half_width) | |
void | evaluate (const ConstVectorRef &, const ConstVectorRef &u, BaseData &data) const |
void | computeJacobians (const ConstVectorRef &, const ConstVectorRef &, BaseData &data) const |
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 | evaluate (const ConstVectorRef &x, const ConstVectorRef &u, Data &data) const=0 |
Evaluate the function. | |
virtual void | computeJacobians (const ConstVectorRef &x, const ConstVectorRef &u, Data &data) const=0 |
Compute Jacobians of this function. | |
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 |
Protected Attributes | |
int | k_ |
double | mu_ |
double | hL_ |
double | hW_ |
Additional Inherited Members | |
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 23 of file centroidal-wrench-cone.hpp.
using aligator::CentroidalWrenchConeResidualTpl< _Scalar >::Scalar = _Scalar |
Definition at line 26 of file centroidal-wrench-cone.hpp.
using aligator::CentroidalWrenchConeResidualTpl< _Scalar >::Base = StageFunctionTpl<Scalar> |
Definition at line 28 of file centroidal-wrench-cone.hpp.
using aligator::CentroidalWrenchConeResidualTpl< _Scalar >::BaseData = typename Base::Data |
Definition at line 29 of file centroidal-wrench-cone.hpp.
using aligator::CentroidalWrenchConeResidualTpl< _Scalar >::Data = CentroidalWrenchConeDataTpl<Scalar> |
Definition at line 30 of file centroidal-wrench-cone.hpp.
|
inline |
Definition at line 32 of file centroidal-wrench-cone.hpp.
aligator::CentroidalWrenchConeResidualTpl< _Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
void aligator::CentroidalWrenchConeResidualTpl< _Scalar >::evaluate | ( | const ConstVectorRef & | , |
const ConstVectorRef & | u, | ||
BaseData & | data ) const |
void aligator::CentroidalWrenchConeResidualTpl< _Scalar >::computeJacobians | ( | const ConstVectorRef & | , |
const ConstVectorRef & | , | ||
BaseData & | data ) const |
|
inlinevirtual |
Instantiate a Data object.
Reimplemented from aligator::StageFunctionTpl< _Scalar >.
Definition at line 43 of file centroidal-wrench-cone.hpp.
|
protected |
Definition at line 48 of file centroidal-wrench-cone.hpp.
|
protected |
Definition at line 49 of file centroidal-wrench-cone.hpp.
|
protected |
Definition at line 50 of file centroidal-wrench-cone.hpp.
|
protected |
Definition at line 51 of file centroidal-wrench-cone.hpp.