9#ifndef VRPN_TRACKER_ISOTRAK_H
10#define VRPN_TRACKER_ISOTRAK_H
43 const char *port =
"/dev/ttyS1",
long baud = 19200,
45 const char *additional_reset_commands = NULL);
70 void process_binary();
Generic connection class not specific to the transport mechanism.
int set_sensor_output_format(int sensor)
This routine sets the device for position + quaternion It puts a space at the end so that we can chec...
vrpn_Tracker_Isotrak(const char *name, vrpn_Connection *c, const char *port="/dev/ttyS1", long baud=19200, int enable_filtering=1, int numstations=vrpn_ISOTRAK_MAX_STATIONS, const char *additional_reset_commands=NULL)
The constructor is given the name of the tracker (the name of the sender it should use),...
struct timeval reset_time
vrpn_Button_Server * stylus_buttons[vrpn_ISOTRAK_MAX_STATIONS]
int add_stylus_button(const char *button_device_name, int sensor)
Add a stylus (with button) to one of the sensors.
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)
const int vrpn_ISOTRAK_MAX_STATIONS
class VRPN_API vrpn_Connection
class VRPN_API vrpn_Button_Server