robotoc
robotoc - efficient ROBOT Optimal Control solvers
|
Factorizer of the backward Riccati recursion of a time stage. More...
#include <unconstr_backward_riccati_recursion_factorizer.hpp>
Factorizer of the backward Riccati recursion of a time stage.
robotoc::UnconstrBackwardRiccatiRecursionFactorizer::UnconstrBackwardRiccatiRecursionFactorizer | ( | const Robot & | robot | ) |
Constructs a factorizer.
[in] | robot | Robot model. |
robotoc::UnconstrBackwardRiccatiRecursionFactorizer::UnconstrBackwardRiccatiRecursionFactorizer | ( | ) |
Default constructor.
robotoc::UnconstrBackwardRiccatiRecursionFactorizer::~UnconstrBackwardRiccatiRecursionFactorizer | ( | ) |
Destructor.
|
default |
Default copy constructor.
|
defaultnoexcept |
Default move constructor.
void robotoc::UnconstrBackwardRiccatiRecursionFactorizer::factorizeKKTMatrix | ( | const SplitRiccatiFactorization & | riccati_next, |
const double | dt, | ||
SplitKKTMatrix & | kkt_matrix, | ||
SplitKKTResidual & | kkt_residual | ||
) |
Factorizes the split KKT matrix and split KKT residual of a time stage for the backward Riccati recursion.
[in] | riccati_next | Riccati factorization of the next time stage. |
[in] | dt | Time step of this time stage. |
[in,out] | kkt_matrix | Split KKT matrix of this time stage. |
[in,out] | kkt_residual | Split KKT residual of this time stage. |
void robotoc::UnconstrBackwardRiccatiRecursionFactorizer::factorizeRiccatiFactorization | ( | const SplitRiccatiFactorization & | riccati_next, |
SplitKKTMatrix & | kkt_matrix, | ||
const SplitKKTResidual & | kkt_residual, | ||
const LQRPolicy & | lqr_policy, | ||
const double | dt, | ||
SplitRiccatiFactorization & | riccati | ||
) |
Factorizes the Riccati factorization matrix and vector.
[in] | riccati_next | Riccati factorization of the next time stage. |
[in,out] | kkt_matrix | Split KKT matrix of this time stage. |
[in] | kkt_residual | Split KKT residual of this time stage. |
[in] | lqr_policy | The state feedback control policy of the LQR subproblem. |
[in] | dt | Time step of this time stage. |
[out] | riccati | The Riccati factorization of this time stage. |
|
default |
Default copy operator.
|
defaultnoexcept |
Default move assign operator.