rsLQR
0.1
|
Describes an LQR problem with affine terms. More...
#include <lqr_problem.h>
Data Fields | |
int | nhorizon |
double * | x0 |
LQRData ** | lqrdata |
Describes an LQR problem with affine terms.
Internally, stores a vector of LQRData, one for each knot point, along with the initial state and the horizon length.
The user can initialize and empty problem using ndlqr_NewLQRProblem(), which again must be paired with a call to ndlqr_FreeLQRProblem().
After the problem is initialized, it can be filled in from a vector LQRData using ndlqr_InitializeLQRProblem().