Robotran C Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
mbs_aux.c File Reference
#include <math.h>
#include "mbs_aux.h"
#include "mbs_data.h"
#include "mbs_define.h"
#include "useful_functions.h"
#include "mbs_sensor.h"
#include "mbs_message.h"

Macros

#define MSG_ERR   ">> MBSAUX>> "
 
#define MSG_PRE   " >> "
 

Functions

MbsAux * initMbsAux (MbsData *s)
 
int freeMbsAux (MbsAux *mbs_aux, MbsData *s)
 Free the structure and its content. More...
 

Macro Definition Documentation

◆ MSG_ERR

#define MSG_ERR   ">> MBSAUX>> "

◆ MSG_PRE

#define MSG_PRE   " >> "

Function Documentation

◆ freeMbsAux()

int freeMbsAux ( MbsAux *  mbs_aux,
MbsData mbs_data 
)

Free the structure and its content.

Parameters
[in,out]mbs_auxPointer to the structure to be freed.
[in]mbs_dataThe multibody system associated to mbs_aux.
Returns
MBS_INFO_SUCCESS for success or MBS_INFO_FAILURE if mbs_data is NULL (both are macro defined in mbs_define.h).

◆ initMbsAux()

MbsAux* initMbsAux ( MbsData s)