|
aligator
0.16.0
A versatile and efficient C++ library for real-time constrained trajectory optimization.
|
Results holder struct. More...
#include <aligator/solvers/proxddp/results.hpp>
Public Types | |
| using | Scalar = _Scalar |
| using | Base = ResultsBaseTpl<Scalar> |
Public Types inherited from aligator::ResultsBaseTpl< _Scalar > | |
| using | Scalar = _Scalar |
Public Member Functions | |
| ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
| ResultsTpl () | |
| ResultsTpl (const ResultsTpl &)=default | |
| ResultsTpl & | operator= (const ResultsTpl &)=default |
| ResultsTpl (ResultsTpl &&)=default | |
| ResultsTpl & | operator= (ResultsTpl &&)=default |
| ResultsTpl (const TrajOptProblemTpl< Scalar > &problem) | |
| Create the results struct from a problem (TrajOptProblemTpl) instance. | |
| void | cycleAppend (const TrajOptProblemTpl< Scalar > &problem, const ConstVectorRef &x0) |
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 |
| std::string | printBase () const |
| virtual | ~ResultsBaseTpl ()=default |
Public Attributes | |
| std::vector< VectorXs > | lams |
| Problem co-states. | |
| std::vector< VectorXs > | vs |
| Path constraint multipliers. | |
| std::size_t | al_iter = 0 |
| Proximal/AL iteration count. | |
| bool | conv |
| std::vector< MatrixXs > | gains_ |
| Riccati gains. | |
| std::size_t | num_iters |
| 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 |
Results holder struct.
Definition at line 11 of file results.hpp.
| using aligator::ResultsTpl< _Scalar >::Scalar = _Scalar |
Definition at line 12 of file results.hpp.
| using aligator::ResultsTpl< _Scalar >::Base = ResultsBaseTpl<Scalar> |
Definition at line 14 of file results.hpp.
|
inlineexplicit |
Definition at line 28 of file results.hpp.
|
default |
|
default |
|
explicit |
Create the results struct from a problem (TrajOptProblemTpl) instance.
| aligator::ResultsTpl< _Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
default |
|
default |
| void aligator::ResultsTpl< _Scalar >::cycleAppend | ( | const TrajOptProblemTpl< Scalar > & | problem, |
| const ConstVectorRef & | x0 ) |
| std::vector<VectorXs> aligator::ResultsTpl< _Scalar >::lams |
Problem co-states.
Definition at line 22 of file results.hpp.
| std::vector<VectorXs> aligator::ResultsTpl< _Scalar >::vs |
Path constraint multipliers.
Definition at line 24 of file results.hpp.
| std::size_t aligator::ResultsTpl< _Scalar >::al_iter = 0 |
Proximal/AL iteration count.
Definition at line 26 of file results.hpp.
| bool aligator::ResultsBaseTpl< Scalar >::conv |
Definition at line 19 of file results-base.hpp.
| std::vector<MatrixXs> aligator::ResultsBaseTpl< Scalar >::gains_ |
Riccati gains.
Definition at line 29 of file results-base.hpp.
| std::size_t aligator::ResultsBaseTpl< Scalar >::num_iters |
Definition at line 18 of file results-base.hpp.
| std::vector<VectorXs> aligator::ResultsBaseTpl< Scalar >::us |
Controls.
Definition at line 33 of file results-base.hpp.
| std::vector<VectorXs> aligator::ResultsBaseTpl< Scalar >::xs |
States.
Definition at line 31 of file results-base.hpp.