#include <stdlib.h>
#include <qpOASES_e.h>
#include "qpOASES_e_simulink_utils.c"
#include "simstruc.h"
#include "cg_sfun.h"
Go to the source code of this file.
Macros | |
#define | HESSIANTYPE HST_UNKNOWN |
#define | MAXITER 100 |
#define | MDL_START |
#define | NCONTROLINPUTS 2 |
#define | S_FUNCTION_LEVEL 2 |
#define | S_FUNCTION_NAME qpOASES_e_QProblem |
#define | SAMPLINGTIME -1 |
Functions | |
static void | mdlInitializeSampleTimes (SimStruct *S) |
static void | mdlInitializeSizes (SimStruct *S) |
static void | mdlOutputs (SimStruct *S, int_T tid) |
static void | mdlStart (SimStruct *S) |
static void | mdlTerminate (SimStruct *S) |
Interface for Simulink(R) that enables to call qpOASES as a S function (variant for QPs with fixed matrices).
Definition in file qpOASES_e_QProblem.c.
#define HESSIANTYPE HST_UNKNOWN |
Hessian type, see documentation of QProblem class constructor.
Definition at line 60 of file qpOASES_e_QProblem.c.
#define MAXITER 100 |
Maximum number of iterations.
Definition at line 59 of file qpOASES_e_QProblem.c.
#define MDL_START |
Activate call to mdlStart.
Definition at line 51 of file qpOASES_e_QProblem.c.
#define NCONTROLINPUTS 2 |
Number of control inputs.
Definition at line 58 of file qpOASES_e_QProblem.c.
#define S_FUNCTION_LEVEL 2 |
S function level.
Definition at line 49 of file qpOASES_e_QProblem.c.
#define S_FUNCTION_NAME qpOASES_e_QProblem |
Name of the S function.
Definition at line 48 of file qpOASES_e_QProblem.c.
#define SAMPLINGTIME -1 |
Sampling time.
Definition at line 57 of file qpOASES_e_QProblem.c.
|
static |
Definition at line 146 of file qpOASES_e_QProblem.c.
|
static |
Definition at line 64 of file qpOASES_e_QProblem.c.
|
static |
Definition at line 334 of file qpOASES_e_QProblem.c.
|
static |
Definition at line 153 of file qpOASES_e_QProblem.c.
|
static |
Definition at line 509 of file qpOASES_e_QProblem.c.