j3d.org Code

org.j3d.device.input.polhemus
Class Isotrak2

java.lang.Object
  extended byorg.j3d.device.input.polhemus.SerialPortDevice
      extended byorg.j3d.device.input.polhemus.Polhemus
          extended byorg.j3d.device.input.polhemus.Isotrak2

public class Isotrak2
extends Polhemus

Implementation of a driver that can read data from an IsoTrak II device.

The IsoTrak II has two 6DOF input sensors.

Version:
$Revision: 1.1 $
Author:
Satoshi Konno, Justin Couch

Field Summary
 
Fields inherited from class org.j3d.device.input.polhemus.Polhemus
activeStationStateCommand, getRecordCommand, mPositionData, mRotationData, performBoresightCommand, RECEIVER1, RECEIVER2, RECEIVER3, RECEIVER4, retrieveStatusCommand, systemResetCommand, toASCIICommand, toBinaryCommand, toContinuousCommand, toNonContinuousCommand, X, Y, Z
 
Fields inherited from class org.j3d.device.input.polhemus.SerialPortDevice
DATABITS_5, DATABITS_6, DATABITS_7, DATABITS_8, PARITY_EVEN, PARITY_NONE, PARITY_ODD, SERIALPORT1, SERIALPORT2, SERIALPORT3, SERIALPORT4, STOPBITS_1, STOPBITS_1_5, STOPBITS_2
 
Constructor Summary
Isotrak2(int device, int baudrate)
           
Isotrak2(java.lang.String deviceName, int baudrate)
           
 
Method Summary
 int getDeviceDataLength()
           
 int getDevicePositionDataOffset()
           
 int getDeviceRotationDataOffset()
           
 int readActiveReceivers()
           
 void setReceiverOutputFormat()
           
 
Methods inherited from class org.j3d.device.input.polhemus.Polhemus
getActiveReceivers, getDeviceDataWaitTime, getOrientation, getOrientation, getPosition, getPosition, initialize, setDeviceDataWaitTime, setDeviceDataWaitTimeFromBaudRate
 
Methods inherited from class org.j3d.device.input.polhemus.SerialPortDevice
close, nToRead, read, read, waitData, waitTime, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Isotrak2

public Isotrak2(java.lang.String deviceName,
                int baudrate)

Isotrak2

public Isotrak2(int device,
                int baudrate)
Method Detail

readActiveReceivers

public int readActiveReceivers()
Specified by:
readActiveReceivers in class Polhemus

setReceiverOutputFormat

public void setReceiverOutputFormat()
Specified by:
setReceiverOutputFormat in class Polhemus

getDeviceDataLength

public int getDeviceDataLength()
Specified by:
getDeviceDataLength in class Polhemus

getDevicePositionDataOffset

public int getDevicePositionDataOffset()
Specified by:
getDevicePositionDataOffset in class Polhemus

getDeviceRotationDataOffset

public int getDeviceRotationDataOffset()
Specified by:
getDeviceRotationDataOffset in class Polhemus

j3d.org Code

Latest Info from http://code.j3d.org/
Copyright © 2001 - j3d.org