Class LQRController
Defined in File LQRController.hpp
Class Documentation
-
class LQRController
Class used as a Linear Quadratic Regulator controller.
Public Functions
-
LQRController(const Math::Matrix &a, const Math::Matrix &b, const Math::Matrix &q, const Math::Matrix &r)
Creates a new LQR controller with the given matrices
- Parameters
a – System matrix A
b – System matrix B
q – Weighting matrix Q
r – Weighting matrix R
-
LQRController(const Math::Matrix &a, const Math::Matrix &b, const Math::Matrix &q, const Math::Matrix &r)