Robotran C Documentation
Public Attributes | List of all members
MbsLmgcData Struct Reference

Structure defining one multibody system and additional stuff for coupling it to LMGC90. More...

#include <mbs_lmgc.h>

Public Attributes

int nb_nodes
 Number of nodes in this system. More...
 
MbsDatambs_data
 Pointer to the MbsData structure of the multibody system. More...
 
int mbs_data_loaded
 Flag indicate if mbs_data was loaded or if a pointer to the memory was provided (-1: no data / 0: pointer to memory / 1: loaded) More...
 
MbsAux * lds
 Utility structure for keeping intermediate variable during computation. More...
 
MbsLmgcNodenodes
 Array of nodes associated to this mbs. More...
 
double * qm
 Array of the generalized position in the contact configuration. More...
 
double * vFree
 Array of the generalized free velocities (velocities without contact) More...
 
double * vBeg
 Array of the generalized velocities at the beginning of the time step. More...
 
double * vAux
 Array of auxiliary generalized velocities (for computing W matrix) More...
 
double * reac
 Array of generalized reaction. More...
 
double * rAux
 Array of auxiliary generalized reaction (for computing W matrix) More...
 
double * impQc
 Array of impulse on the driven coordinates. More...
 
char * mbsFile
 String defining the file from which to load the mbs data. More...
 
char * resqFile
 String defining the file in which to save coordinate results. More...
 
char * resqdFile
 String defining the file in which to save velocity results. More...
 
char * resQqFile
 String defining the file in which to save velocity results. More...
 
char * resImpQcFile
 String defining the file in which to save impuls of joint/force associated to driven joints. More...
 
char * animFile
 String defining the file in which to save animation result. More...
 
MbsBuffer ** buffers
 buffer to store generalized coordinates, velocities, acceleration, joint forces... More...
 
double ** savedArrays
 pointer to the array that must be saved to buffers More...
 
int bufferNb
 Number of buffer. More...
 
int saveperiod
 NOT IMPLEMENTED: The number of time steps between two buffer records; default: 1 (every time step are recorded). More...
 
int buffersize
 The number of time step that can be recorded in the buffer. More...
 

Detailed Description

Structure defining one multibody system and additional stuff for coupling it to LMGC90.

Member Data Documentation

◆ animFile

char* animFile

String defining the file in which to save animation result.

◆ bufferNb

int bufferNb

Number of buffer.

◆ buffers

MbsBuffer** buffers

buffer to store generalized coordinates, velocities, acceleration, joint forces...

◆ buffersize

int buffersize

The number of time step that can be recorded in the buffer.

Results are written to disk when the buffer is full. default: -1, compute the buffer size for saving results only once at the end according to dt0, t0 and tf.

◆ impQc

double* impQc

Array of impulse on the driven coordinates.

◆ lds

MbsAux* lds

Utility structure for keeping intermediate variable during computation.

◆ mbs_data

MbsData* mbs_data

Pointer to the MbsData structure of the multibody system.

◆ mbs_data_loaded

int mbs_data_loaded

Flag indicate if mbs_data was loaded or if a pointer to the memory was provided (-1: no data / 0: pointer to memory / 1: loaded)

◆ mbsFile

char* mbsFile

String defining the file from which to load the mbs data.

◆ nb_nodes

int nb_nodes

Number of nodes in this system.

◆ nodes

MbsLmgcNode* nodes

Array of nodes associated to this mbs.

◆ qm

double* qm

Array of the generalized position in the contact configuration.

◆ rAux

double* rAux

Array of auxiliary generalized reaction (for computing W matrix)

◆ reac

double* reac

Array of generalized reaction.

◆ resImpQcFile

char* resImpQcFile

String defining the file in which to save impuls of joint/force associated to driven joints.

◆ resqdFile

char* resqdFile

String defining the file in which to save velocity results.

◆ resqFile

char* resqFile

String defining the file in which to save coordinate results.

◆ resQqFile

char* resQqFile

String defining the file in which to save velocity results.

◆ savedArrays

double** savedArrays

pointer to the array that must be saved to buffers

◆ saveperiod

int saveperiod

NOT IMPLEMENTED: The number of time steps between two buffer records; default: 1 (every time step are recorded).

◆ vAux

double* vAux

Array of auxiliary generalized velocities (for computing W matrix)

◆ vBeg

double* vBeg

Array of the generalized velocities at the beginning of the time step.

◆ vFree

double* vFree

Array of the generalized free velocities (velocities without contact)


The documentation for this struct was generated from the following file: