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

General structure of the direct dynamic module. More...

#include <mbs_dirdyn_struct.h>

Public Attributes

MbsDirdynOptionsoptions
 structure defining the option of a direct dynamic More...
 
MbsAux * mbs_aux
 
double tsim
 current simulation time More...
 
double dt
 current integration step size More...
 
int nState
 size of the state vector More...
 
double * y
 Pointer to the state vector, this is a dvec_0 of size nState. More...
 
double * yout
 Allocation of a vector (dvec_0) of size nState. More...
 
double * yd
 Pointers to the derivative vector (dvec_0) of size nState. More...
 
MbsBuffer ** buffers
 buffer to store generalized coordinates, velocities, acceleration, joint forces... More...
 
MbsBuffer ** buffer_visu
 buffer used to save the visualization as it appears in 'user_realtime_visu.c' More...
 
MbsGrowingBufferuser_buffer
 growing buffer to store user values More...
 
int bufferNb
 Number of buffer required to save the current system topology (ie. coordinates, links...) More...
 
double ** savedArrays
 pointer to the array that must be saved to buffers More...
 
int savePeriodCounter
 counter for checking whether results must be saved More...
 
int flag_ongoing_jac_computation
 flag is ON (=1) when the implicit integrator is currently computing the jacobian, default is 0. More...
 
void * integrator_struct
 pointer to store integrator structure More...
 
initialize_integrator_ptr initialize_integrator
 pointer to integrator initialize function More...
 
loop_integrator_ptr loop_integrator
 pointer to integrator looping function More...
 
finish_integrator_ptr finish_integrator
 pointer to integrator closing function More...
 

Detailed Description

General structure of the direct dynamic module.

Member Data Documentation

◆ buffer_visu

MbsBuffer** buffer_visu

buffer used to save the visualization as it appears in 'user_realtime_visu.c'

◆ bufferNb

int bufferNb

Number of buffer required to save the current system topology (ie. coordinates, links...)

◆ buffers

MbsBuffer** buffers

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

◆ dt

double dt

current integration step size

◆ finish_integrator

finish_integrator_ptr finish_integrator

pointer to integrator closing function

◆ flag_ongoing_jac_computation

int flag_ongoing_jac_computation

flag is ON (=1) when the implicit integrator is currently computing the jacobian, default is 0.

it allows the user the make a distinction in his user functions (typically a FSM state that should now change during jacobian computation).

◆ initialize_integrator

initialize_integrator_ptr initialize_integrator

pointer to integrator initialize function

◆ integrator_struct

void* integrator_struct

pointer to store integrator structure

◆ loop_integrator

loop_integrator_ptr loop_integrator

pointer to integrator looping function

◆ mbs_aux

MbsAux* mbs_aux

◆ nState

int nState

size of the state vector

◆ options

MbsDirdynOptions* options

structure defining the option of a direct dynamic

◆ savedArrays

double** savedArrays

pointer to the array that must be saved to buffers

◆ savePeriodCounter

int savePeriodCounter

counter for checking whether results must be saved

◆ tsim

double tsim

current simulation time

◆ user_buffer

MbsGrowingBuffer* user_buffer

growing buffer to store user values

◆ y

double* y

Pointer to the state vector, this is a dvec_0 of size nState.

◆ yd

double* yd

Pointers to the derivative vector (dvec_0) of size nState.

◆ yout

double* yout

Allocation of a vector (dvec_0) of size nState.

This vector is used by some integrator (ie. RK4) implementation to store intermediate value of the state vector. This vector is not used by the "mbsysc_modules".


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