Robotics, Programming, Cpp.
Additionally, it shows how to numerically solve the Riccati equation to obtain the optimal state-feedback control law and gain matrix K for the control inputs. The source code for this article you will find on my GitHub. The matrix K is an essential matrix in the control system, especially