From: ELENA S SLOBOUNOV (elena-slobounov_at_psu.edu)
Date: Fri Apr 28 2006 - 16:25:13 CDT

We compiled and run VMD with CAVELib on LINUX pc with RAVE (Fakespace), but have
a problem with .vmdsensors file. The only example we have is:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
###
### Configuration for the NCSA CAVE trackers
### http://www.ncsa.uiuc.edu/Vis/Facilities/
###
device cavetracker cavetracker://local/cave
scale 1.0
offset 0.9 -4.0 -1.0
device cavebuttons cavebuttons://local/cave:0,1,2,3
# For left-handers
#device left_handed_cavebuttons cavebuttons://local/cave:2,1,0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Since http://www.ncsa.uiuc.edu/Vis/Facilities/ does not work any more I could
not find any information regarding "//local/cave" variable.
How it is defined?

This is what we have:
1). trackd reads two FOB sensors and Work wand connected to the LINUX box via
serial port using the following trackd.conf:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# Define Flock of Birds
DefineDevice RAVEFlock fobirds 2
DeviceOption RAVEFlock port /dev/ttyS0
DeviceOption RAVEFlock erc 1
DeviceOption RAVEFlock baud 115200
DeviceOption RAVEFlock Hemisphere +X
DeviceOption RAVEFlock addressingmode normal
DeviceOption RAVEFlock CaveCoordinates no
DeviceOption RAVEFlock TransmitterOffset -5 0 0 feet
DeviceOption RAVEFlock TransmitterRotation 1 0 0 0
DeviceOption RAVEFlock SensorRotation 2 0 0 1 0
DeviceOption RAVEFlock SensorRotation 3 1 0 0 -180
DeviceOption RAVEFlock SensorOffset 2 0 0 0 feet
DeviceOption RAVEFlock SensorOffset 3 0 0 0 feet
#DeviceOption RAVEFlock TransmitterRotationMatrix
#DeviceOption RAVEFlock SensorRotationMatrix

# Define Work Wand
DefineDevice RAVEWorkWand workwand
DeviceOption RAVEWorkWand port /dev/ttyS1
DeviceOption RAVEWorkWand ButtonOrder 1 1 2 3
DeviceOption RAVEWorkWand ValuatorOrder 1 1 2
DeviceOption RAVEWorkWand ValuatorScale 1 1.0 all

# Define a output connector for RAVEFlock
DefineConnector trackerSHM4126 shm out 2
ConnectorOption trackerSHM4126 data tracker
ConnectorOption trackerSHM4126 key 4126

# Define an output connector RAVEWorkWand
DefineConnector controllerSHM4127 shm out 1
ConnectorOption controllerSHM4127 data controller
ConnectorOption controllerSHM4127 key 4127
ConnectorOption controllerSHM4127 numValuators 1 2
ConnectorOption controllerSHM4127 numButtons 1 3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

and our_hostname.conf has lines:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
....
# Type of tracking and input (daemon or simulator)
TrackerType daemon
ControllerType daemon
Simulator n
Trackerdaemonkey 4126
Controllerdaemonkey 4127
# Run tracking in serial or parallel
SerialTracking y
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2) .vmdrc has lines:
tool create grab ravetracker2 ravebuttons1
tool scale 1.9 0
tool offset -1.33 -0.1 -0.7 0

3) .vmdsensors has lines: (which do not work:( )
device ravetracker2 cavetracker://localhost/RAVEFlock:1
device ravebuttons1 cavebuttons://localhost/RAVEWorkWand:0

Please, let me know if you need more info from me or have any idea how to
declare our devices in .vmdsensors the way VMD can recognize them.

Sincerely,
Elena Slobounov
Elena Stanislav Slobounov

~~~~~~~~~~~~~~~~~~~~ http://cac.psu.edu/viz ~~~~~~~~~~~~~~~~
Lead Applications Programmer/Analyst 222 Computer Building
Visualization Group University Park,PA 16802
Graduate Education & Research Services elena-slobounov_at_psu.edu
Center for Academic Computing Phone (814)863-5692
The Pennsylvania State University FAX (814)863-7049
~~~~~~~"The road to success is always under construction."~~~~~~~