Macros | Functions
qpOASES_e_QProblem.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_QProblem.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_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)
 

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 QPs with fixed matrices).

Definition in file qpOASES_e_QProblem.c.

Macro Definition Documentation

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

Function Documentation

static void mdlInitializeSampleTimes ( SimStruct *  S)
static

Definition at line 146 of file qpOASES_e_QProblem.c.

static void mdlInitializeSizes ( SimStruct *  S)
static

Definition at line 64 of file qpOASES_e_QProblem.c.

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

Definition at line 334 of file qpOASES_e_QProblem.c.

static void mdlStart ( SimStruct *  S)
static

Definition at line 153 of file qpOASES_e_QProblem.c.

static void mdlTerminate ( SimStruct *  S)
static

Definition at line 509 of file qpOASES_e_QProblem.c.



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