Difference between revisions of "Trackd Configuration"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
(trackd Server Configuration)
Line 28: Line 28:
 
ConnectorOption Ether2 port 9010
 
ConnectorOption Ether2 port 9010
 
ConnectorOption Ether2 remote 137.110.118.199:9010
 
ConnectorOption Ether2 remote 137.110.118.199:9010
 +
</pre>
 +
 +
===trackd Client Configuration===
 +
 +
<pre>
 +
# Define an input connector
 +
DefineConnector Ether1 udp in 2  # number of sensors, must correspond with server
 +
ConnectorOption Ether1 data tracker
 +
ConnectorOption Ether1 port 9005
 +
 +
# Define an output connector
 +
DefineConnector Shm1 shm out 2    # number of sensors, must correspond with server
 +
ConnectorOption Shm1 data tracker
 +
ConnectorOption Shm1 key 4126
 +
 +
# Define an input connector
 +
DefineConnector Ether2 udp in 1
 +
ConnectorOption Ether2 data controller
 +
ConnectorOption Ether2 port 9010
 +
 +
# Define an input connector
 +
DefineConnector Shm2 shm out 1
 +
ConnectorOption Shm2 data controller
 +
ConnectorOption Shm2 key 4127
 
</pre>
 
</pre>

Revision as of 12:06, 7 May 2008

This trackd configuration is for the installation of a trackd based tracking system in front of a flat stereo screen (e.g., c-wall). We use a Flock of Birds tracking system with a Wanda device for head and hand tracking, in COVISE. Our coordinate system is as follows. When in front of the screen looking at the screen: x goes the right, y goes into the screen, z goes up.

trackd Server Configuration

DefineDevice FOB fobirds 2   # number of sensors, not counting the ERC
DeviceOption FOB port com1
DeviceOption FOB Baud 9600
DeviceOption FOB ERC 1   # device ID of ERC
DeviceOption FOB CAVECoordinates yes  # this is important for the rotational angles
DeviceOption FOB Hemisphere -Z    # this works when the tracker is on the floor, close to the screen
DeviceOption FOB Sync Off  
DeviceOption FOB TransmitterRotation 0 0 1 90

# Define Wanda
DefineDevice CAVEwanda wanda
DeviceOption CAVEwanda port com3

# Define UDP connector for sensors to head node
DefineConnector Ether1 udp out 1
ConnectorOption Ether1 data tracker
ConnectorOption Ether1 port 9005
ConnectorOption Ether1 remote 137.110.118.199:9005

# Define UDP connector for controller to head node
DefineConnector Ether2 udp out 2
ConnectorOption Ether2 data controller
ConnectorOption Ether2 port 9010
ConnectorOption Ether2 remote 137.110.118.199:9010

trackd Client Configuration

# Define an input connector
DefineConnector Ether1 udp in 2   # number of sensors, must correspond with server
ConnectorOption Ether1 data tracker
ConnectorOption Ether1 port 9005

# Define an output connector
DefineConnector Shm1 shm out 2    # number of sensors, must correspond with server
ConnectorOption Shm1 data tracker
ConnectorOption Shm1 key 4126

# Define an input connector
DefineConnector Ether2 udp in 1 
ConnectorOption Ether2 data controller
ConnectorOption Ether2 port 9010

# Define an input connector
DefineConnector Shm2 shm out 1 
ConnectorOption Shm2 data controller
ConnectorOption Shm2 key 4127