aligator  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
aligator::ExplicitDynamicsDataTpl< Scalar > Struct Template Reference

Specific data struct for explicit dynamics ExplicitDynamicsModelTpl. More...

#include <aligator/core/explicit-dynamics.hpp>

Inheritance diagram for aligator::ExplicitDynamicsDataTpl< Scalar >:
[legend]
Collaboration diagram for aligator::ExplicitDynamicsDataTpl< Scalar >:
[legend]

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)
 

Detailed Description

template<typename Scalar>
struct aligator::ExplicitDynamicsDataTpl< Scalar >

Specific data struct for explicit dynamics ExplicitDynamicsModelTpl.

Definition at line 80 of file fwd.hpp.

Member Typedef Documentation

◆ Scalar

template<typename Scalar >
using aligator::ExplicitDynamicsDataTpl< Scalar >::Scalar = _Scalar

Definition at line 58 of file explicit-dynamics.hpp.

◆ Base

template<typename Scalar >
using aligator::ExplicitDynamicsDataTpl< Scalar >::Base = DynamicsDataTpl<Scalar>

Definition at line 60 of file explicit-dynamics.hpp.

Constructor & Destructor Documentation

◆ ExplicitDynamicsDataTpl()

template<typename Scalar >
aligator::ExplicitDynamicsDataTpl< Scalar >::ExplicitDynamicsDataTpl ( const int ndx1,
const int nu,
const int nx2,
const int ndx2 )

◆ ~ExplicitDynamicsDataTpl()

template<typename Scalar >
virtual aligator::ExplicitDynamicsDataTpl< Scalar >::~ExplicitDynamicsDataTpl ( )
virtualdefault

Member Function Documentation

◆ ALIGATOR_DYNAMIC_TYPEDEFS()

template<typename Scalar >
aligator::ExplicitDynamicsDataTpl< Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS ( Scalar )

Friends And Related Symbol Documentation

◆ operator<<

template<typename Scalar >
template<typename S >
std::ostream & operator<< ( std::ostream & oss,
const ExplicitDynamicsDataTpl< S > & self )
friend

Definition at line 85 of file explicit-dynamics.hpp.

Member Data Documentation

◆ xnext_

template<typename Scalar >
VectorXs aligator::ExplicitDynamicsDataTpl< Scalar >::xnext_

Model next state.

Definition at line 66 of file explicit-dynamics.hpp.

◆ dx_

template<typename Scalar >
VectorXs aligator::ExplicitDynamicsDataTpl< Scalar >::dx_

Difference vector between current state x and xnext_.

Definition at line 68 of file explicit-dynamics.hpp.

◆ Jtmp_xnext

template<typename Scalar >
MatrixXs aligator::ExplicitDynamicsDataTpl< Scalar >::Jtmp_xnext

Jacobian.

Definition at line 70 of file explicit-dynamics.hpp.

◆ xnext_ref

template<typename Scalar >
VectorRef aligator::ExplicitDynamicsDataTpl< Scalar >::xnext_ref

Definition at line 72 of file explicit-dynamics.hpp.

◆ dx_ref

template<typename Scalar >
VectorRef aligator::ExplicitDynamicsDataTpl< Scalar >::dx_ref

Definition at line 73 of file explicit-dynamics.hpp.

◆ Ju_

template<typename Scalar >
MatrixRef aligator::DynamicsDataTpl< Scalar >::Ju_

Jacobian with respect to \(u\).

Definition at line 95 of file dynamics.hpp.

◆ Jx_

template<typename Scalar >
MatrixRef aligator::DynamicsDataTpl< Scalar >::Jx_

Jacobian with respect to \(x\).

Definition at line 93 of file dynamics.hpp.

◆ Jy_

template<typename Scalar >
MatrixRef aligator::DynamicsDataTpl< Scalar >::Jy_

Jacobian with respect to \(y\).

Definition at line 97 of file dynamics.hpp.

◆ value_

template<typename Scalar >
VectorXs aligator::DynamicsDataTpl< Scalar >::value_

Function value.

Definition at line 88 of file dynamics.hpp.


The documentation for this struct was generated from the following files: