Difference between revisions of "Trackd Configuration"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
(trackd Server Configuration)
(COVISE Configuration)
 
(One intermediate revision by one user not shown)
Line 52: Line 52:
 
ConnectorOption Shm2 data controller
 
ConnectorOption Shm2 data controller
 
ConnectorOption Shm2 key 4127
 
ConnectorOption Shm2 key 4127
 +
</pre>
 +
 +
===COVISE Configuration===
 +
 +
<pre>
 +
      <Input>
 +
        <ButtonSystem value="CAVELIB" />
 +
        <TrackingSystem value="CAVELIB" />
 +
        <MouseNav value="ON" />
 +
 +
        <HeadAddress value="0" />
 +
        <HandAddress value="1" />
 +
        <Joystick value="true" />
 +
        <NumSensors value="2" />
 +
 +
        <Transmitter>
 +
          <Offset x="0" y="0" z="0" />
 +
          <Orientation h="0" p="180" r="0" />
 +
        </Transmitter>
 +
 +
        <HeadSensor>
 +
          <Offset x="0" y="0" z="0" />
 +
          <Orientation h="0" p="0" r="0" />
 +
        </HeadSensor>
 +
 +
        <HandSensor>
 +
          <Offset x="0" y="0" z="0" />
 +
          <Orientation h="0" p="-90" r="0" />
 +
        </HandSensor>
 +
 +
        <DebugTracking value="APP" />
 +
        <DebugStation value="3" />
 +
 +
      </Input>
 
</pre>
 
</pre>

Latest revision as of 11:10, 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

COVISE Configuration

      <Input>
        <ButtonSystem value="CAVELIB" />
        <TrackingSystem value="CAVELIB" />
        <MouseNav value="ON" />

        <HeadAddress value="0" />
        <HandAddress value="1" />
        <Joystick value="true" />
        <NumSensors value="2" />

        <Transmitter>
          <Offset x="0" y="0" z="0" />
          <Orientation h="0" p="180" r="0" />
        </Transmitter>

        <HeadSensor>
          <Offset x="0" y="0" z="0" />
          <Orientation h="0" p="0" r="0" />
        </HeadSensor>

        <HandSensor>
          <Offset x="0" y="0" z="0" />
          <Orientation h="0" p="-90" r="0" />
        </HandSensor>

        <DebugTracking value="APP" />
        <DebugStation value="3" />

      </Input>