#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_QProblemB |
#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 simply bounded QPs with fixed matrices).
Definition in file qpOASES_e_QProblemB.c.
#define HESSIANTYPE HST_UNKNOWN |
Hessian type, see documentation of QProblemB class constructor.
Definition at line 60 of file qpOASES_e_QProblemB.c.
#define MAXITER 100 |
Maximum number of iteration.
Definition at line 59 of file qpOASES_e_QProblemB.c.
#define MDL_START |
Activate call to mdlStart.
Definition at line 51 of file qpOASES_e_QProblemB.c.
#define NCONTROLINPUTS 2 |
Number of control inputs.
Definition at line 58 of file qpOASES_e_QProblemB.c.
#define S_FUNCTION_LEVEL 2 |
S function level.
Definition at line 49 of file qpOASES_e_QProblemB.c.
#define S_FUNCTION_NAME qpOASES_e_QProblemB |
Name of the S function.
Definition at line 48 of file qpOASES_e_QProblemB.c.
#define SAMPLINGTIME -1 |
Sampling time.
Definition at line 57 of file qpOASES_e_QProblemB.c.
|
static |
Definition at line 137 of file qpOASES_e_QProblemB.c.
|
static |
Definition at line 64 of file qpOASES_e_QProblemB.c.
|
static |
Definition at line 281 of file qpOASES_e_QProblemB.c.
|
static |
Definition at line 144 of file qpOASES_e_QProblemB.c.
|
static |
Definition at line 389 of file qpOASES_e_QProblemB.c.