Robotran C Documentation
Functions
mbs_sensor.h File Reference

Declare functions associated to sensor computation. More...

#include "mbs_sensor_struct.h"
#include "mbs_sensor_utilities.h"

Go to the source code of this file.

Functions

int mbs_comp_F_sensor (MbsSensor *psens, struct MbsData *mbs_data, int isens)
 Compute all fields of the specified force sensor. More...
 
int mbs_comp_S_sensor (MbsSensor *psens, struct MbsData *mbs_data, int isens)
 Compute all fields of the specified sensor. More...
 
int mbs_comp_gen_sensor (MbsSensor *psens, struct MbsData *mbs_data, int joint_id)
 Compute all fields of a sensor located on the specified joint. More...
 

Detailed Description

Declare functions associated to sensor computation.

Author
Robotran team

(c) Universite catholique de Louvain

Function Documentation

◆ mbs_comp_F_sensor()

int mbs_comp_F_sensor ( MbsSensor psens,
struct MbsData mbs_data,
int  isens 
)

Compute all fields of the specified force sensor.

Parameters
[in,out]psensPointer to the MbsSensor structure to compute.
[in]mbs_datapointer to the MbsData structure of the model related to the sensor.
[in]isensthe ID of the force sensor.
Returns
MBS_INFO_SUCCESS in case of success.

◆ mbs_comp_gen_sensor()

int mbs_comp_gen_sensor ( MbsSensor psens,
struct MbsData mbs_data,
int  joint_id 
)

Compute all fields of a sensor located on the specified joint.

Parameters
[in,out]psensPointer to the MbsSensor structure to compute.
[in]mbs_datapointer to the MbsData structure of the model related to the sensor.
[in]joint_idthe ID of the joint.
Returns
MBS_INFO_SUCCESS in case of success.

◆ mbs_comp_S_sensor()

int mbs_comp_S_sensor ( MbsSensor psens,
struct MbsData mbs_data,
int  isens 
)

Compute all fields of the specified sensor.

Parameters
[in,out]psensPointer to the MbsSensor structure to compute.
[in]mbs_datapointer to the MbsData structure of the model related to the sensor.
[in]isensthe ID of the sensor.
Returns
MBS_INFO_SUCCESS in case of success.