robotoc
robotoc - efficient ROBOT Optimal Control solvers
|
Riccati recursion solver for optimal control problems of unconstrained rigid-body systems. More...
#include <unconstr_riccati_recursion.hpp>
Public Member Functions | |
UnconstrRiccatiRecursion (const OCP &ocp) | |
Construct a Riccati recursion solver. More... | |
UnconstrRiccatiRecursion () | |
Default constructor. More... | |
~UnconstrRiccatiRecursion ()=default | |
Default destructor. More... | |
UnconstrRiccatiRecursion (const UnconstrRiccatiRecursion &)=default | |
Default copy constructor. More... | |
UnconstrRiccatiRecursion & | operator= (const UnconstrRiccatiRecursion &)=default |
Default copy operator. More... | |
UnconstrRiccatiRecursion (UnconstrRiccatiRecursion &&) noexcept=default | |
Default move constructor. More... | |
UnconstrRiccatiRecursion & | operator= (UnconstrRiccatiRecursion &&) noexcept=default |
Default move assign operator. More... | |
void | backwardRiccatiRecursion (KKTMatrix &kkt_matrix, KKTResidual &kkt_residual, UnconstrRiccatiFactorization &factorization) |
Performs the backward Riccati recursion. More... | |
void | forwardRiccatiRecursion (const KKTResidual &kkt_residual, const UnconstrRiccatiFactorization &factorization, Direction &d) const |
Performs the forward Riccati recursion and computes the direction. More... | |
const std::vector< LQRPolicy > & | getLQRPolicy () const |
Gets of the LQR policies over the horizon. More... | |
Riccati recursion solver for optimal control problems of unconstrained rigid-body systems.
robotoc::UnconstrRiccatiRecursion::UnconstrRiccatiRecursion | ( | const OCP & | ocp | ) |
Construct a Riccati recursion solver.
[in] | ocp | Optimial control problem. |
robotoc::UnconstrRiccatiRecursion::UnconstrRiccatiRecursion | ( | ) |
Default constructor.
|
default |
Default destructor.
|
default |
Default copy constructor.
|
defaultnoexcept |
Default move constructor.
void robotoc::UnconstrRiccatiRecursion::backwardRiccatiRecursion | ( | KKTMatrix & | kkt_matrix, |
KKTResidual & | kkt_residual, | ||
UnconstrRiccatiFactorization & | factorization | ||
) |
Performs the backward Riccati recursion.
[in,out] | kkt_matrix | KKT matrix. |
[in,out] | kkt_residual | KKT residual. |
[in,out] | factorization | Riccati factorization. |
void robotoc::UnconstrRiccatiRecursion::forwardRiccatiRecursion | ( | const KKTResidual & | kkt_residual, |
const UnconstrRiccatiFactorization & | factorization, | ||
Direction & | d | ||
) | const |
Performs the forward Riccati recursion and computes the direction.
[in] | kkt_residual | KKT residual. |
[in] | factorization | Riccati factorization. |
[in,out] | d | Direction. |
const std::vector< LQRPolicy > & robotoc::UnconstrRiccatiRecursion::getLQRPolicy | ( | ) | const |
Gets of the LQR policies over the horizon.
|
default |
Default copy operator.
|
defaultnoexcept |
Default move assign operator.