|
bitsim
Model, simulate, estimate and control robots in C++
|
The gain of a linear quadratic regulator and the cost matrix it comes from: the input \(u = -K x\) minimises the cost \(\sum x^T Q x + u^T R u\), or its integral in continuous time, and the cost from x on is \(x^T P x\). More...
#include <lqr.h>
Public Attributes | |
| Matrix | K |
| Matrix | P |
The gain of a linear quadratic regulator and the cost matrix it comes from: the input \(u = -K x\) minimises the cost \(\sum x^T Q x + u^T R u\), or its integral in continuous time, and the cost from x on is \(x^T P x\).
| Matrix bitsim::control::LQRSolution::K |
| Matrix bitsim::control::LQRSolution::P |