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);
55 void printError(
unsigned char uchErrCode,
unsigned char uchExpandedErrCode);
Generic connection class not specific to the transport mechanism.
double getMeasurementRate()
vrpn_Tracker_Flock(char *name, vrpn_Connection *c, int cSensors=1, const char *port="/dev/ttyd3", long baud=38400, int fStreamMode=1, int useERT=1, bool invertQuaternion=false, int active_hemisphere=HEMI_PLUSZ)
void printError(unsigned char uchErrCode, unsigned char uchExpandedErrCode)
struct timeval tvLastStatusReport
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.
vrpn_Tracker_Serial(const char *name, vrpn_Connection *c, const char *port="/dev/ttyS1", long baud=38400)
class VRPN_API vrpn_Connection