evart-client  2.2
Data Fields
evas_body_segments_t Struct Reference

Segments coordinates for one body. More...

#include <evart-client.h>

Data Fields

uint32_t iFrame
 
float fDelay
 
uint32_t tv_sec
 
uint32_t tv_usec
 
uint32_t index
 
char name [EVAS_STRMAX]
 
uint32_t nsegments
 
struct {
   double   pos [3]
 
   double   rot [3]
 
   double   length
 
segments [0]
 Array of segments positions. More...
 

Detailed Description

Segments coordinates for one body.

This is a variable-length structure that contains a list of segments configuration for a specific body. The body identity can be found in the index and name fields and the segments array contains the list of segments configuration, from index 0 to nsegments-1. Each position is itself a structure of X,Y,Z,Rx,Ry,Rz coordinates and L length.

Field Documentation

◆ iFrame

uint32_t iFrame

EVaRT's frame number.

◆ fDelay

float fDelay

Total time (seconds) from Camera to the Host sending the data.

◆ tv_sec

uint32_t tv_sec

Absolute time of acquisition (seconds since the * Epoch)

◆ tv_usec

uint32_t tv_usec

Absolute time of acquistion (micro-seconds)

◆ index

uint32_t index

Index of the body.

◆ name

char name[EVAS_STRMAX]

Name of the body.

◆ nsegments

uint32_t nsegments

Number of segments for that body.

◆ pos

double pos[3]

Segment X,Y,Z position.

◆ rot

double rot[3]

Segment Rx, Ry and Rz rotations.

◆ segments

struct { ... } segments[0]

Array of segments positions.

segments[i].pos[0] == EVAS_EMPTY means no data.