#include <stdlib.h>
#include "mbs_sensor2.h"
Go to the source code of this file.
◆ 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] | psens | Pointer to the MbsSensor structure to modify. |
[in] | njoint | Number of joint in the MBS, see MbsData::njoint. |
Definition at line 14 of file mbs_sensor.c.
◆ free_sensor()
◆ init_sensor()
void init_sensor |
( |
MbsSensor * |
psens, |
|
|
int |
njoint |
|
) |
| |
Initialize all fields of MbsSensor structure to 0.
- Parameters
-
[in,out] | psens | Pointer to the MbsSensor structure to initialize. |
[in] | njoint | Number of joint in the MBS, see MbsData::njoint. |
Definition at line 25 of file mbs_sensor.c.