1#ifndef __TRACKER_ISENSE_H
2#define __TRACKER_ISENSE_H
6#ifdef VRPN_INCLUDE_INTERSENSE
32 int commPort,
const char *additional_reset_commands = NULL,
33 int is900_timestamps = 0,
int reset_at_start=0);
39 int add_is900_button(
const char *button_device_name,
int sensor,
int numbuttons = 5);
46 double c0Min = -1,
double c0Low = 0,
double c0Hi = 0,
double c0Max = 1,
47 double c1Min = -1,
double c1Low = 0,
double c1Hi = 0,
double c1Max = 1);
virtual void mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
Analog server that can scale and clip its range to -1..1.
Generic connection class not specific to the transport mechanism.
int add_is900_button(const char *button_device_name, int sensor, int numbuttons=5)
Add an IS900 button device to one of the sensors This allows configuration of an InterSense IS-900.
struct timeval is900_zerotime
ISD_TRACKER_INFO_TYPE m_TrackerInfo
vrpn_Clipping_Analog_Server * is900_analogs[ISD_MAX_STATIONS]
int add_is900_analog(const char *analog_device_name, int sensor, double c0Min=-1, double c0Low=0, double c0Hi=0, double c0Max=1, double c1Min=-1, double c1Low=0, double c1Hi=0, double c1Max=1)
Add the analog part of an IS900 joystick device to one of the sensors This allows configuration of an...
virtual void send_report(void)
int set_sensor_output_format(int sensor)
Augments the basic Fastrak format to include IS900 features if needed.
ISD_STATION_INFO_TYPE m_StationInfo[ISD_MAX_STATIONS]
void getTrackerInfo(char *msg)
virtual void get_report(void)
ISD_TRACKER_HANDLE m_Handle
vrpn_Tracker_InterSense(const char *name, vrpn_Connection *c, int commPort, const char *additional_reset_commands=NULL, int is900_timestamps=0, int reset_at_start=0)
vrpn_Button_Server * is900_buttons[ISD_MAX_STATIONS]
vrpn_Tracker(const char *name, vrpn_Connection *c=NULL, const char *tracker_cfg_file_name=NULL)