Jul 16, 2024
dare, dqr) provide functions to compute the infinite horizon K matrix.C = [B, AB, A^2B, ..., A^(n-1)B].n, set V_n(x) = terminal_cost(x) = x^T Q_n x.u = -Kx, where K is derived from the Riccati recursion.λ from trajectory optimization relate to the gradient of the cost-to-go function.λ = P x, providing insights for system control.