mbs_sensor2.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MbsSensor
 

Typedefs

typedef struct MbsSensor MbsSensor
 

Functions

void allocate_sensor (MbsSensor *psens, int njoint)
 Allocate the Jacobian matrix of the MbsSensor according to the number of joints in the multibody system. More...
 
void free_sensor (MbsSensor *psens)
 Free the memory of MbsSensor structure. More...
 
void init_sensor (MbsSensor *psens, int njoint)
 Initialize all fields of MbsSensor structure to 0. More...
 

Typedef Documentation

◆ MbsSensor

typedef struct MbsSensor MbsSensor

Function Documentation

◆ allocate_sensor()

void allocate_sensor ( MbsSensor psens,
int  njoint 
)

Allocate the Jacobian matrix of the MbsSensor according to the number of joints in the multibody system.

Parameters
[in,out]psensPointer to the MbsSensor structure to modify.
[in]njointNumber of joint in the MBS, see MbsData::njoint.

Definition at line 14 of file mbs_sensor.c.

+ Here is the caller graph for this function:

◆ free_sensor()

void free_sensor ( MbsSensor psens)

Free the memory of MbsSensor structure.

Parameters
[in,out]psensPointer to the MbsSensor structure to be freed.

Definition at line 49 of file mbs_sensor.c.

+ Here is the caller graph for this function:

◆ init_sensor()

void init_sensor ( MbsSensor psens,
int  njoint 
)

Initialize all fields of MbsSensor structure to 0.

Parameters
[in,out]psensPointer to the MbsSensor structure to initialize.
[in]njointNumber of joint in the MBS, see MbsData::njoint.

Definition at line 25 of file mbs_sensor.c.

+ Here is the caller graph for this function: