Robotran C Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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_not_printed
 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...
 
int * indices_to_print
 The indices to be printed by this buffer output. More...
 
char * buf_format
 Format of the buffer output. More...
 
char * buf_separator
 Format of the separator in 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.

default is e

◆ buf_separator

char* buf_separator

Format of the separator in the buffer output.

Default is blank space

◆ filename

char* filename

the name of the text file associated to this buffer

◆ flag_not_printed

int flag_not_printed

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

◆ indices_to_print

int* indices_to_print

The indices to be printed by this buffer output.

◆ 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: