A C++ implementation of Linear Quadratic Regulator (LQR) using the square-root Riccati recursion.
This project implements an efficient LQR solver designed for control applications, with quadrotor systems as an example. For more information, please refer to the tutorial.
- Eigen: Linear algebra library
- CMake
- Clone the repository:
git clone https://github.com/Luyao787/Riccati-LQR.git
cd Riccati-LQR- Build the project:
mkdir build
cd build
cmake ..
cmake --build .- Run the example:
./example- G. Frison and J. B. Jørgensen, “Efficient implementation of the Riccati recursion for solving linear-quadratic control problems,” 2013 IEEE International Conference on Control Applications (CCA), Hyderabad, India, 2013, pp. 1117-1122.