12#ifndef _VRPN_FLOCK_PARALLEL_H_
13#define _VRPN_FLOCK_PARALLEL_H_
55 char *port,
long baud,
56 char *slavePortArray[],
57 bool invertQuaternion =
false);
78 vrpn_int32 vrpnMasterID,
Generic connection class not specific to the transport mechanism.
friend class VRPN_API vrpn_Tracker_Flock_Parallel
vrpn_Tracker_Flock_Parallel_Slave(char *name, vrpn_Connection *c, char *port, long baud, vrpn_int32 vrpnMasterID, int iSensorID)
vrpn_Tracker_Flock_Parallel(char *name, vrpn_Connection *c, int cSensors, char *port, long baud, char *slavePortArray[], bool invertQuaternion=false)
vrpn_Tracker_Flock_Parallel_Slave * rgSlaves[VRPN_FLOCK_MAX_SENSORS]
virtual void reset()
Reset the tracker.
virtual int get_report(void)
Gets a report if one is available, returns 0 if not, 1 if complete report.
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)
virtual void mainloop()
Uses the get_report, send_report, and reset routines to implement a server.
#define VRPN_FLOCK_MAX_SENSORS
class VRPN_API vrpn_Tracker_Flock_Parallel_Slave
class VRPN_API vrpn_Connection