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

#include <mbs_buffer.h>

Public Attributes

double * tx
 the array in which the time and the value are saved. More...
 
double * last_x
 the array in which the last values of 'x' are stored More...
 
double last_t
 the time corresponding to 'last_x' More...
 
int flag_no_print
 flag: 1 if it was not yet printed More...
 
char * filename
 the name of the text file associated to this buffer More...
 
int index
 indicate the index to which next values must be written More...
 
int size
 the size of the buffer (i.e. More...
 
int nx
 the size of the array that is tracked by this buffer More...
 
int id
 ID of the buffer. More...
 
char * buf_format
 Format of the buffer output. More...
 
AnimInfoanim
 info for the .anim file More...
 

Member Data Documentation

◆ anim

AnimInfo* anim

info for the .anim file

◆ buf_format

char* buf_format

Format of the buffer output.

◆ filename

char* filename

the name of the text file associated to this buffer

◆ flag_no_print

int flag_no_print

flag: 1 if it was not yet printed

◆ id

int id

ID of the buffer.

◆ index

int index

indicate the index to which next values must be written

◆ last_t

double last_t

the time corresponding to 'last_x'

◆ last_x

double* last_x

the array in which the last values of 'x' are stored

◆ nx

int nx

the size of the array that is tracked by this buffer

◆ size

int size

the size of the buffer (i.e.

the number of different value of the array that can be stored)

◆ tx

double* tx

the array in which the time and the value are saved.

time and value are saved contiguously. This is useful for the python interface so as to save all data in a single array with index of column corresponding to joint id (starting at 1).


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