Macros | Functions
qpOASES_e_QProblemB.c File Reference
#include <stdlib.h>
#include <qpOASES_e.h>
#include "qpOASES_e_simulink_utils.c"
#include "simstruc.h"
#include "cg_sfun.h"
Include dependency graph for qpOASES_e_QProblemB.c:

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)
 

Detailed Description

Author
Hans Joachim Ferreau (thanks to Aude Perrin)
Version
3.1embedded
Date
2007-2015

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.

Macro Definition Documentation

#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.

Function Documentation

static void mdlInitializeSampleTimes ( SimStruct *  S)
static

Definition at line 137 of file qpOASES_e_QProblemB.c.

static void mdlInitializeSizes ( SimStruct *  S)
static

Definition at line 64 of file qpOASES_e_QProblemB.c.

static void mdlOutputs ( SimStruct *  S,
int_T  tid 
)
static

Definition at line 281 of file qpOASES_e_QProblemB.c.

static void mdlStart ( SimStruct *  S)
static

Definition at line 144 of file qpOASES_e_QProblemB.c.

static void mdlTerminate ( SimStruct *  S)
static

Definition at line 389 of file qpOASES_e_QProblemB.c.



acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:21