double V[4]
Velocity vector of the sensor expressed in the inertial frame: .
double OMP[4]
Angular acceleration vector of the sensor expressed in the inertial frame: .
void allocate_sensor(MbsSensor *psens, int njoint)
Allocate the Jacobian matrix of the MbsSensor according to the number of joints in the multibody syst...
void init_sensor(MbsSensor *psens, int njoint)
Initialize all fields of MbsSensor structure to 0.
double * J[7]
Jacobian matrix of the sensor: .
double P[4]
Position vector of the sensor expressed in the inertial frame: .
void free_sensor(MbsSensor *psens)
Free the memory of MbsSensor structure.
struct MbsSensor MbsSensor
double OM[4]
Angular velocity vector of the sensor expressed in the inertial frame: .
double R[4][4]
Rotation matrix from the inertial frame to the sensor frame: .
double A[4]
Acceleration vector of the sensor expressed in the inertial frame: .