aligator
0.6.1
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
Specific data struct for explicit dynamics ExplicitDynamicsModelTpl. More...
#include <aligator/core/explicit-dynamics.hpp>
Public Types | |
using | Scalar = _Scalar |
using | Base = StageFunctionDataTpl<Scalar> |
![]() | |
using | Scalar = _Scalar |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
ExplicitDynamicsDataTpl (const int ndx1, const int nu, const int nx2, const int ndx2) | |
virtual | ~ExplicitDynamicsDataTpl ()=default |
![]() | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
StageFunctionDataTpl (const int ndx1, const int nu, const int ndx2, const int nr) | |
Default constructor. | |
virtual | ~StageFunctionDataTpl ()=default |
![]() | |
shared_ptr< StageFunctionDataTpl< _Scalar > > | clone () const |
Public Attributes | |
VectorXs | xnext_ |
Model next state. | |
VectorXs | dx_ |
Difference vector between current state x and xnext_. | |
MatrixXs | Jtmp_xnext |
Jacobian. | |
VectorRef | xnext_ref |
VectorRef | dx_ref |
![]() | |
const int | ndx1 |
const int | nu |
const int | ndx2 |
const int | nr |
const int | nvar = ndx1 + nu + ndx2 |
Total number of variables. | |
VectorXs | value_ |
Function value. | |
VectorRef | valref_ |
MatrixXs | jac_buffer_ |
Full Jacobian. | |
MatrixXs | vhp_buffer_ |
Vector-Hessian product buffer. | |
MatrixRef | Jx_ |
Jacobian with respect to \(x\). | |
MatrixRef | Ju_ |
Jacobian with respect to \(u\). | |
MatrixRef | Jy_ |
Jacobian with respect to \(y\). | |
MatrixRef | Hxx_ |
MatrixRef | Hxu_ |
MatrixRef | Hxy_ |
MatrixRef | Huu_ |
MatrixRef | Huy_ |
MatrixRef | Hyy_ |
Friends | |
template<typename S > | |
std::ostream & | operator<< (std::ostream &oss, const ExplicitDynamicsDataTpl< S > &self) |
Additional Inherited Members | |
![]() | |
virtual StageFunctionDataTpl * | clone_impl () const |
Specific data struct for explicit dynamics ExplicitDynamicsModelTpl.
Definition at line 56 of file explicit-dynamics.hpp.
using aligator::ExplicitDynamicsDataTpl< _Scalar >::Scalar = _Scalar |
Definition at line 58 of file explicit-dynamics.hpp.
using aligator::ExplicitDynamicsDataTpl< _Scalar >::Base = StageFunctionDataTpl<Scalar> |
Definition at line 60 of file explicit-dynamics.hpp.
aligator::ExplicitDynamicsDataTpl< _Scalar >::ExplicitDynamicsDataTpl | ( | const int | ndx1, |
const int | nu, | ||
const int | nx2, | ||
const int | ndx2 ) |
|
virtualdefault |
aligator::ExplicitDynamicsDataTpl< _Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
friend |
Definition at line 85 of file explicit-dynamics.hpp.
VectorXs aligator::ExplicitDynamicsDataTpl< _Scalar >::xnext_ |
Model next state.
Definition at line 66 of file explicit-dynamics.hpp.
VectorXs aligator::ExplicitDynamicsDataTpl< _Scalar >::dx_ |
Difference vector between current state x
and xnext_.
Definition at line 68 of file explicit-dynamics.hpp.
MatrixXs aligator::ExplicitDynamicsDataTpl< _Scalar >::Jtmp_xnext |
Jacobian.
Definition at line 70 of file explicit-dynamics.hpp.
VectorRef aligator::ExplicitDynamicsDataTpl< _Scalar >::xnext_ref |
Definition at line 72 of file explicit-dynamics.hpp.
VectorRef aligator::ExplicitDynamicsDataTpl< _Scalar >::dx_ref |
Definition at line 73 of file explicit-dynamics.hpp.