DataStructures 1.6.16
A small compiled C library of data structures used in the NHP wrist center-out and other tasks.
Loading...
Searching...
No Matches
StateData Struct Reference

Structure to store timestamped task state data. More...

#include <data_structures.h>

Data Fields

double ts
 
double tl
 
State state: 14
 
Transition transition: 6
 
Orientation orientation: 4
 
Direction direction: 4
 
Target target: 4
 
CursorData cursor
 

Detailed Description

Structure to store timestamped task state data.

Field Documentation

◆ cursor

CursorData StateData::cursor

Cursor data structure.

◆ direction

Direction StateData::direction

4-bit direction field.

◆ orientation

Orientation StateData::orientation

4-bit orientation field.

◆ state

State StateData::state

14-bit state field.

◆ target

Target StateData::target

4-bit target field.

◆ tl

double StateData::tl

Number of milliseconds since start of log at last transition.

◆ transition

Transition StateData::transition

6-bit transition field.

◆ ts

double StateData::ts

Number of milliseconds since start of log.