aligator
0.9.0
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 = DynamicsDataTpl<Scalar> |
Public Types inherited from aligator::DynamicsDataTpl< _Scalar > | |
using | Scalar |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
ExplicitDynamicsDataTpl (const int ndx1, const int nu, const int nx2, const int ndx2) | |
virtual | ~ExplicitDynamicsDataTpl ()=default |
Public Member Functions inherited from aligator::DynamicsDataTpl< _Scalar > | |
ALIGATOR_DYNAMIC_TYPEDEFS (_Scalar) | |
DynamicsDataTpl (const DynamicsModelTpl< _Scalar > &model) | |
DynamicsDataTpl (const int ndx1, const int nu, const int ndx2) | |
virtual | ~DynamicsDataTpl ()=default |
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 |
MatrixRef | Ju_ |
Jacobian with respect to \(u\). | |
MatrixRef | Jx_ |
Jacobian with respect to \(x\). | |
MatrixRef | Jy_ |
Jacobian with respect to \(y\). | |
VectorXs | value_ |
Function value. | |
Public Attributes inherited from aligator::DynamicsDataTpl< _Scalar > | |
const int | ndx1 |
const int | nu |
const int | ndx2 |
const int | nvar |
Total number of variables. | |
VectorXs | value_ |
Function value. | |
VectorRef | valref_ |
MatrixXs | jac_buffer_ |
Full Jacobian. | |
MatrixRef | Jx_ |
Jacobian with respect to \(x\). | |
MatrixRef | Ju_ |
Jacobian with respect to \(u\). | |
MatrixRef | Jy_ |
Jacobian with respect to \(y\). | |
MatrixXs | Hxx_ |
MatrixXs | Hxu_ |
MatrixXs | Hxy_ |
MatrixXs | Huu_ |
MatrixXs | Huy_ |
MatrixXs | Hyy_ |
Friends | |
template<typename S > | |
std::ostream & | operator<< (std::ostream &oss, const ExplicitDynamicsDataTpl< S > &self) |
Specific data struct for explicit dynamics ExplicitDynamicsModelTpl.
using aligator::ExplicitDynamicsDataTpl< Scalar >::Scalar = _Scalar |
Definition at line 58 of file explicit-dynamics.hpp.
using aligator::ExplicitDynamicsDataTpl< Scalar >::Base = DynamicsDataTpl<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.
MatrixRef aligator::DynamicsDataTpl< Scalar >::Ju_ |
Jacobian with respect to \(u\).
Definition at line 95 of file dynamics.hpp.
MatrixRef aligator::DynamicsDataTpl< Scalar >::Jx_ |
Jacobian with respect to \(x\).
Definition at line 93 of file dynamics.hpp.
MatrixRef aligator::DynamicsDataTpl< Scalar >::Jy_ |
Jacobian with respect to \(y\).
Definition at line 97 of file dynamics.hpp.
VectorXs aligator::DynamicsDataTpl< Scalar >::value_ |
Function value.
Definition at line 88 of file dynamics.hpp.