bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::control::LQRSolution Struct Reference

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

Detailed Description

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\).

Member Data Documentation

◆ K

Matrix bitsim::control::LQRSolution::K

◆ P

Matrix bitsim::control::LQRSolution::P

The documentation for this struct was generated from the following file: