aligator
0.14.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
State error \(x \ominus x_\text{ref}\). More...
#include <aligator/modelling/state-error.hpp>
Public Types | |
using | Base = detail::StateOrControlErrorResidual<Scalar, 0> |
![]() | |
using | Scalar |
using | Base |
using | Data |
using | Manifold |
using | VectorSpace |
![]() | |
using | Scalar |
using | Data |
using | Scalar |
using | Data |
Additional Inherited Members | |
![]() | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
StateOrControlErrorResidual (const int ndx, U &&uspace, const ConstVectorRef &target) | |
Constructor using the state space dimension, control manifold and control target. | |
StateOrControlErrorResidual (const int ndx, const xyz::polymorphic< Manifold > &uspace, const ConstVectorRef &target) | |
StateOrControlErrorResidual (const int ndx, const int nu) | |
StateOrControlErrorResidual (const int ndx, const ConstVectorRef &target) | |
Constructor using state space and control space dimensions, the control space is assumed to be Euclidean. | |
void | evaluate (const ConstVectorRef &, const ConstVectorRef &u, Data &data) const override |
Evaluate the function. | |
void | computeJacobians (const ConstVectorRef &, const ConstVectorRef &u, Data &data) const override |
Compute Jacobians of this function. | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
StateOrControlErrorResidual (const int ndx, U &&uspace, const ConstVectorRef &target) | |
Constructor using the state space dimension, control manifold and control target. | |
StateOrControlErrorResidual (const int ndx, const xyz::polymorphic< Manifold > &uspace, const ConstVectorRef &target) | |
StateOrControlErrorResidual (const int ndx, const int nu) | |
StateOrControlErrorResidual (const int ndx, const ConstVectorRef &target) | |
Constructor using state space and control space dimensions, the control space is assumed to be Euclidean. | |
void | evaluate (const ConstVectorRef &, const ConstVectorRef &u, Data &data) const override |
Evaluate the function. | |
void | computeJacobians (const ConstVectorRef &, const ConstVectorRef &u, Data &data) const override |
Compute Jacobians of this function. | |
![]() | |
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 |
virtual shared_ptr< Data > | createData () const |
Instantiate a Data object. | |
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 |
virtual shared_ptr< Data > | createData () const |
Instantiate a Data object. | |
![]() | |
xyz::polymorphic< Manifold > | space_ |
VectorXs | target_ |
xyz::polymorphic< Manifold > | space_ |
VectorXs | target_ |
![]() | |
const int | ndx1 |
Current state dimension. | |
const int | nu |
Control dimension. | |
const int | nr |
Function codimension. | |
const int | ndx1 |
Current state dimension. | |
const int | nu |
Control dimension. | |
const int | nr |
Function codimension. | |
![]() | |
void | validate () const |
void | validate () const |
State error \(x \ominus x_\text{ref}\).
This can be used, by using the manifold neutral element as the reference, to define constraints on the state (e.g. joint position or velocity limits).
Definition at line 152 of file state-error.hpp.
using aligator::StateErrorResidualTpl< Scalar >::Base = detail::StateOrControlErrorResidual<Scalar, 0> |
Definition at line 153 of file state-error.hpp.