|
Biomech-Sim-Toolbox 1
Toolbox for movement simulation and analysis
|
#include <stdio.h>#include <stdlib.h>#include <math.h>#include <string.h>#include "mex.h"#include "gait3d_pelvis213_torque.h"Macros | |
| #define | EXTRACTINERTIAL(S, NUM) |
| #define | JACOBIANSIZING 0 |
| #define | MAXCONTACTS 200 |
| #define | MAXSTATES (2*NDOF+NCVAR*MAXCONTACTS) |
Functions | |
| double | extract (const mxArray *P, char *fieldname1, unsigned int i1) |
| double | extract2 (const mxArray *P, char *fieldname1, unsigned int i1, char *fieldname2, unsigned int i2) |
| void | mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
| void | normalize (double *x, double *y, double *z) |
Variables | |
| static contactprop | contacts [MAXCONTACTS] |
| static int | initialized = 0 |
| static jointprop | joints [NDOF] |
| static int | ncontacts |
| static int | nf |
| static int | nstates |
| static param_struct | parameters |
| static double | zeros [MAXSTATES] |
| #define EXTRACTINERTIAL | ( | S, | |
| NUM | |||
| ) |
| #define JACOBIANSIZING 0 |
| #define MAXCONTACTS 200 |
| #define MAXSTATES (2*NDOF+NCVAR*MAXCONTACTS) |
| double extract | ( | const mxArray * | P, |
| char * | fieldname1, | ||
| unsigned int | i1 | ||
| ) |
| double extract2 | ( | const mxArray * | P, |
| char * | fieldname1, | ||
| unsigned int | i1, | ||
| char * | fieldname2, | ||
| unsigned int | i2 | ||
| ) |
| void mexFunction | ( | int | nlhs, |
| mxArray * | plhs[], | ||
| int | nrhs, | ||
| const mxArray * | prhs[] | ||
| ) |
| void normalize | ( | double * | x, |
| double * | y, | ||
| double * | z | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |