11#define VRPN_FLOCK_MAX_SENSORS 13
42 const char *port =
"/dev/ttyd3",
long baud = 38400,
43 int fStreamMode = 1,
int useERT=1,
bool invertQuaternion =
false,
int active_hemisphere=HEMI_PLUSZ);
46 enum {HEMI_PLUSX,
HEMI_MINUSX, HEMI_PLUSY, HEMI_MINUSY, HEMI_PLUSZ, HEMI_MINUSZ};
55 void printError(
unsigned char uchErrCode,
unsigned char uchExpandedErrCode);
70 struct timeval tvLastStatusReport;
73 double getMeasurementRate();
Generic connection class not specific to the transport mechanism.
virtual void send_report(void)
virtual void reset(void)=0
Reset the tracker.
virtual int get_report(void)=0
Gets a report if one is available, returns 0 if not, 1 if complete report.