rsLQR  0.1
json_utils.h
Go to the documentation of this file.
1 
14 #pragma once
15 
16 #include "lqr_problem.h"
17 #include "matrix.h"
18 
46 LQRData* ndlqr_ReadLQRDataJSONFile(const char* filename);
47 
67 LQRProblem* ndlqr_ReadLQRProblemJSONFile(const char* filename);
68 
76 Matrix ReadMatrixJSONFile(const char* filename, const char* name);
77 
ndlqr_ReadLQRProblemJSONFile
LQRProblem * ndlqr_ReadLQRProblemJSONFile(const char *filename)
Read and LQRProblem structure from JSON data.
Definition: json_utils.c:186
lqr_problem.h
Defines the LQRProblem type.
matrix.h
Matrix type and basic operations.
Matrix
Represents a matrix of double-precision data.
Definition: matrix.h:71
ReadMatrixJSONFile
Matrix ReadMatrixJSONFile(const char *filename, const char *name)
Read a Matrix from a JSON file.
Definition: json_utils.c:311
LQRData
Holds the data for a single time step of LQR.
Definition: lqr_data.h:54
ndlqr_ReadLQRDataJSONFile
LQRData * ndlqr_ReadLQRDataJSONFile(const char *filename)
Read an LQRData structure from JSON data.
Definition: json_utils.c:261
LQRProblem
Describes an LQR problem with affine terms.
Definition: lqr_problem.h:31