1#ifndef ROBOTOC_UNCONSTR_RICCATI_RECURSION_HPP_
2#define ROBOTOC_UNCONSTR_RICCATI_RECURSION_HPP_
The state feedback and feedforward policy of LQR subproblem at a time stage.
Definition: lqr_policy.hpp:16
Riccati factorizer for a time stage.
Definition: unconstr_riccati_factorizer.hpp:25
Riccati recursion solver for optimal control problems of unconstrained rigid-body systems.
Definition: unconstr_riccati_recursion.hpp:32
UnconstrRiccatiRecursion(const OCP &ocp)
Construct a Riccati recursion solver.
const std::vector< LQRPolicy > & getLQRPolicy() const
Gets of the LQR policies over the horizon.
UnconstrRiccatiRecursion(UnconstrRiccatiRecursion &&) noexcept=default
Default move constructor.
~UnconstrRiccatiRecursion()=default
Default destructor.
UnconstrRiccatiRecursion(const UnconstrRiccatiRecursion &)=default
Default copy constructor.
UnconstrRiccatiRecursion()
Default constructor.
void forwardRiccatiRecursion(const KKTResidual &kkt_residual, const UnconstrRiccatiFactorization &factorization, Direction &d) const
Performs the forward Riccati recursion and computes the direction.
UnconstrRiccatiRecursion & operator=(const UnconstrRiccatiRecursion &)=default
Default copy operator.
void backwardRiccatiRecursion(KKTMatrix &kkt_matrix, KKTResidual &kkt_residual, UnconstrRiccatiFactorization &factorization)
Performs the backward Riccati recursion.
Definition: constraint_component_base.hpp:17
std::vector< SplitRiccatiFactorization > UnconstrRiccatiFactorization
Riccati factorization matices of the LQR subproblem for the unconstrained optimal control problem.
Definition: unconstr_riccati_recursion.hpp:25
aligned_vector< SplitKKTMatrix > KKTMatrix
The KKT matrix of the optimal control problem.
Definition: kkt_matrix.hpp:16
aligned_vector< SplitDirection > Direction
Newton direction of the solution to the optimal control problem.
Definition: direction.hpp:16
aligned_vector< SplitKKTResidual > KKTResidual
The KKT residual of the optimal control problem.
Definition: kkt_residual.hpp:16
The optimal control problem.
Definition: ocp.hpp:22