From: Nguyen, Tien (Tien.Nguyen++at++dsto.defence.gov.au)
Date: 05/09/2002 01:42:47
dear CAVE_men & CAVE_women, i have INPUT :)
all your help is most appreciated
i've fixed the config stuff using what you guys have sent me.
and as Volodymyr and other have pointed out,
one of my main problem was that i didn't check
with the expected key which was specified for CAVELib's config file.
also, because it's not urgent that i have device input
across network, there's no need to run 'trackdserver'
all is done from a single VR display, therefore it's all in trackd.conf
only possible if you have trackd version 5 or later(future)
here's an example of a fastrak sensor connected to the same
VR display machine:
--------------------trackd.conf--------------------------
DefineDevice TRACKER fastrak
DeviceOption TRACKER port /dev/ttyd6
DeviceOption TRACKER baud 9600
DeviceOption TRACKER sensors 1 0 0 0
DefineConnector SHMEM shm out 2
ConnectorOption SHMEM data tracker
ConnectorOption SHMEM key <"whatever_u_tell_application_to_expects e.g
4123">
i hope this is of some use to someone somewhere sometime :)
cheer
tien
-----Original Message-----
From: Volodymyr Kindratenko [mailto:kindr++at++ncsa.uiuc.edu]
Sent: Thursday, 9 May 2002 1:47 PM
To: 'Nguyen, Tien'; info-performer++at++sgi.com; matt++at++vrco.com
Subject: RE: [info-performer] RE: performer_CAVE_trackd
You are missing
ConnectorOption WandUDP Remote 127.0.0.1:9001 # remote machine
in your trackd.conf (see below). Also, make sure that you are indeed
using shared memory key 1234 in your application. There can be some
other wanda-related options, but I do not remember from the top of my
head.
Good luck!
Volodymyr
> -------------------- trackdserver.conf
DefineDevice CAVEWand wanda 1
DeviceOption CAVEWand port /dev/ttyd6
DefineConnector SEND_UDP udp out 1
ConnectorOption SEND_UDP data tracker
ConnectorOption SEND_UDP port 9001
ConnectorOption SEND_UDP remote 127.0.0.1:9010
> --------------------------------------------------------------------
> --------------------- trackd.conf ----------------------------------
DefineConnector RECEIVE_UDP udp in 1
ConnectorOption RECEIVE_UDP data tracker
ConnectorOption RECEIVE_UDP port 9010
ConnectorOption WandUDP Remote 127.0.0.1:9001 # remote machine
DefineConnector Shmem shm out 1
ConnectorOption Shmem data tracker
ConnectorOption Shmem key 1234
ConnectorOption Shmem numButtons 1 3
ConnectorOption Shmem numValuators 1 4
> --------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Thu May 09 2002 - 01:48:45 PDT