rsLQR  0.1
LQRProblem Struct Reference

Describes an LQR problem with affine terms. More...

#include <lqr_problem.h>

Data Fields

int nhorizon
 
double * x0
 
LQRData ** lqrdata
 

Detailed Description

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.

Construction and desctruction

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


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