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

#include <aligator/solvers/fddp/results.hpp>

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

Public Types

using Base = ResultsBaseTpl<Scalar>
 
using BlockXs = Eigen::Block<MatrixXs, -1, -1>
 
- Public Types inherited from aligator::ResultsBaseTpl< Scalar >
using Scalar = _Scalar
 

Public Member Functions

 ALIGATOR_DYNAMIC_TYPEDEFS (Scalar)
 
 ResultsFDDPTpl ()
 
 ResultsFDDPTpl (const TrajOptProblemTpl< Scalar > &problem)
 
- Public Member Functions inherited from aligator::ResultsBaseTpl< Scalar >
 ALIGATOR_DYNAMIC_TYPEDEFS (Scalar)
 
 ResultsBaseTpl ()
 
bool isInitialized () const
 
decltype(auto) getFeedforward (std::size_t i)
 Get column expression of the primal-dual feedforward gain.
 
decltype(auto) getFeedforward (std::size_t i) const
 Get column expression of the primal-dual feedforward gain.
 
decltype(auto) getFeedback (std::size_t i)
 Get expression of the primal-dual feedback gains.
 
decltype(auto) getFeedback (std::size_t i) const
 Get expression of the primal-dual feedback gains.
 
std::vector< MatrixXs > getCtrlFeedbacks () const
 
std::vector< VectorXs > getCtrlFeedforwards () const
 
void printBase (std::ostream &oss) const
 
virtual ~ResultsBaseTpl ()=default
 

Public Attributes

std::vector< MatrixXs > gains_
 Riccati gains.
 
std::vector< VectorXs > us
 Controls.
 
std::vector< VectorXs > xs
 States.
 
- Public Attributes inherited from aligator::ResultsBaseTpl< Scalar >
std::size_t num_iters = 0
 
bool conv = false
 
Scalar traj_cost_ = 0.
 
Scalar merit_value_ = 0.
 
Scalar prim_infeas = 0.
 Overall primal infeasibility measure/constraint violation.
 
Scalar dual_infeas = 0.
 Overall dual infeasibility measure.
 
std::vector< MatrixXs > gains_
 Riccati gains.
 
std::vector< VectorXs > xs
 States.
 
std::vector< VectorXs > us
 Controls.
 

Additional Inherited Members

- Protected Attributes inherited from aligator::ResultsBaseTpl< Scalar >
bool m_isInitialized
 

Detailed Description

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

Definition at line 7 of file results.hpp.

Member Typedef Documentation

◆ Base

template<typename Scalar >
using aligator::ResultsFDDPTpl< Scalar >::Base = ResultsBaseTpl<Scalar>

Definition at line 10 of file results.hpp.

◆ BlockXs

template<typename Scalar >
using aligator::ResultsFDDPTpl< Scalar >::BlockXs = Eigen::Block<MatrixXs, -1, -1>

Definition at line 11 of file results.hpp.

Constructor & Destructor Documentation

◆ ResultsFDDPTpl() [1/2]

template<typename Scalar >
aligator::ResultsFDDPTpl< Scalar >::ResultsFDDPTpl ( )
inline

Definition at line 17 of file results.hpp.

◆ ResultsFDDPTpl() [2/2]

template<typename Scalar >
aligator::ResultsFDDPTpl< Scalar >::ResultsFDDPTpl ( const TrajOptProblemTpl< Scalar > & problem)
explicit

Definition at line 22 of file results.hpp.

Member Function Documentation

◆ ALIGATOR_DYNAMIC_TYPEDEFS()

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

Member Data Documentation

◆ gains_

template<typename Scalar >
std::vector<MatrixXs> aligator::ResultsBaseTpl< Scalar >::gains_

Riccati gains.

Definition at line 29 of file results-base.hpp.

◆ us

template<typename Scalar >
std::vector<VectorXs> aligator::ResultsBaseTpl< Scalar >::us

Controls.

Definition at line 33 of file results-base.hpp.

◆ xs

template<typename Scalar >
std::vector<VectorXs> aligator::ResultsBaseTpl< Scalar >::xs

States.

Definition at line 31 of file results-base.hpp.


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