#include <math.h>
#include <stdio.h>
#include <string.h>
#include "vrpn_BaseClass.h"
#include "vrpn_Connection.h"
#include "vrpn_Shared.h"
#include "vrpn_Types.h"
#include "vrpn_Poser_Tek4662.h"
Go to the source code of this file.
Variables | |
const int | vrpn_Poser_Tek4662_FAIL = -1 |
const int | vrpn_Poser_Tek4662_RESETTING = 0 |
const int | vrpn_Poser_Tek4662_SYNCING = 1 |
const int | vrpn_Poser_Tek4662_RUNNING = 2 |
const double | COUNTS_PER_METER = 1.0 / ( (15.0 / 4095.0) * ( 0.0254 / 1.0 ) ) |
const double | MAX_X = 0.381 |
const double | MAX_Y = 0.254 |
const double | VELOCITY = (1/0.06144) * (1/0.00254) |
const unsigned char | ESC = 27 |
const unsigned char | DEVICE = 'A' |
const unsigned char | GS = 29 |
const unsigned char | ZERO = 0 |
const unsigned char | ZEROES [] = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" |
const unsigned char | PLOTTER_ON [] = { ESC, DEVICE, 'E', ZERO } |
const unsigned char | RESET [] = { ESC, DEVICE, 'N', ZERO } |
const unsigned char | GIN [] = { ESC, DEVICE, 'M', ZERO } |
const unsigned char | MOVE_TEMPLATE [] = { GS, 0x20, 0x60, 0x60, 0x20, 0x40 } |
const int | DATA_RECORD_LENGTH = 7 |
const unsigned | LOWFIVEBITS = 0x001f |
const unsigned | LOWTWOBITS = 0x0003 |
const double COUNTS_PER_METER = 1.0 / ( (15.0 / 4095.0) * ( 0.0254 / 1.0 ) ) |
Definition at line 28 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::run().
const int DATA_RECORD_LENGTH = 7 |
Definition at line 44 of file vrpn_Poser_Tek4662.C.
const unsigned char DEVICE = 'A' |
Definition at line 36 of file vrpn_Poser_Tek4662.C.
const unsigned char ESC = 27 |
Definition at line 34 of file vrpn_Poser_Tek4662.C.
Definition at line 42 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::reset(), and vrpn_Poser_Tek4662::run().
const unsigned char GS = 29 |
Definition at line 37 of file vrpn_Poser_Tek4662.C.
const unsigned LOWFIVEBITS = 0x001f |
Definition at line 49 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::run().
const unsigned LOWTWOBITS = 0x0003 |
Definition at line 50 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::run().
const double MAX_X = 0.381 |
Definition at line 29 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::vrpn_Poser_Tek4662().
const double MAX_Y = 0.254 |
Definition at line 30 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::vrpn_Poser_Tek4662().
const unsigned char MOVE_TEMPLATE[] = { GS, 0x20, 0x60, 0x60, 0x20, 0x40 } |
Definition at line 43 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::run().
Definition at line 40 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::reset().
Definition at line 41 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::reset().
const double VELOCITY = (1/0.06144) * (1/0.00254) |
Definition at line 31 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::vrpn_Poser_Tek4662().
const int vrpn_Poser_Tek4662_FAIL = -1 |
Definition at line 22 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::mainloop(), and vrpn_Poser_Tek4662::vrpn_Poser_Tek4662().
const int vrpn_Poser_Tek4662_RESETTING = 0 |
Definition at line 23 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::mainloop(), vrpn_Poser_Tek4662::run(), and vrpn_Poser_Tek4662::vrpn_Poser_Tek4662().
const int vrpn_Poser_Tek4662_RUNNING = 2 |
Definition at line 25 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::mainloop(), and vrpn_Poser_Tek4662::run().
const int vrpn_Poser_Tek4662_SYNCING = 1 |
Definition at line 24 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::mainloop(), vrpn_Poser_Tek4662::reset(), and vrpn_Poser_Tek4662::run().
const unsigned char ZERO = 0 |
Definition at line 38 of file vrpn_Poser_Tek4662.C.
const unsigned char ZEROES[] = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" |
Definition at line 39 of file vrpn_Poser_Tek4662.C.
Referenced by vrpn_Poser_Tek4662::reset().