Robotran C Documentation
Functions
mbs_sensor_void.c File Reference
#include "mbs_data.h"
#include "mbs_message.h"
#include "mbs_sensor_struct.h"

Functions

void mbs_sensor (MbsSensor *sens, MbsData *s, int isens)
 Compute all fields of a sensor (force sensor or classic sensor). More...
 

Function Documentation

◆ mbs_sensor()

void mbs_sensor ( MbsSensor sens,
MbsData s,
int  isens 
)

Compute all fields of a sensor (force sensor or classic sensor).

Parameters
[in,out]sensPointer to the MbsSensor structure to compute.
[in]spointer to the MbsData structure of the model related to the sensor.
[in]isensthe ID of the sensor, for Force sensor the id has to be incremented by MbsData::Nsensor.