From: Robin Hollands <r.hollands@sheffield.ac.uk>
Newsgroups: sci.virtual-worlds
Subject: Re: TECH: Programming Tracking for CyberMaxx?
Date: 27 Sep 1995 10:37:33 GMT
Organization: University of Sheffield , UK
Message-Id: <44b9hd$8v3@hippo.shef.ac.uk>
References: <447l07$s7i@degas.ICSI.Net>

John Alway <jalway@ICSI.Net> wrote:

>   Has anyone out there successfully been 
>  able to input tracking information from  
>  the CyberMaxx HMD?

VictorMaxx have been kind enough to allow me to include programming
details for the CyberMaxx for 'The Virtual Reality Homebrewer's
Handbook' (which won't be out until March now :-( ). One of the
easiest ways to check out a device connected to the serial port is to
pop into a terminal emulator (e.g. terminal in Windows), and see what
is coming from that port. With the old CyberMaxx 120K if you set the
terminal to 19200 baud and power up the HMD you'll see a stream of
ASCII data along the lines of:

Ynnn.nPsnn.nRsnn.n


e.g. Y091.6P+23.5R-05.6  means 91.6 deg yaw, 23.5 deg pitch and -5.6 deg 
yaw


The new CyberMaxx 180K defaults on power up to 9600 baud, binary format 
sent on request. To get a similar display as above send a 'E' down the 
serial port (to set the HMD to ASCII mode), followed by an 'H' to get 
data sent continuously.

With either HMD, sending an 'F' puts in binary mode, and the default 
transmission then sends 8 bytes: byte 1 and 2 should be FFFF and are 
control bytes, the next pair (3 & 4) contain Yaw data, and the next pair 
(5 & 6) contain Pitch data, with the final pair (7 & 8) containing Roll 
data. To get data on demand send a 'G', and then a packet of data will be 
sent everytime you send a 'S' to the HMD.

There are stacks of other tracker configurations, especially with the 
180K CyberMaxx. Check our VictorMaxx's BBS (+1 708 267 0041) which I seem 
to remember has specs and examples.


>   Side note: has anyone been able to get the 
>  Cybermaxx HMD to work with the game Descent?  
>  I get tracking, but the picture doesn't work 
>  properly.
>
>
I'm guessing that you're using the 120K CyberMaxx. To use Descent with 
this, you've got to use the Cyberdrv utility before starting the game. 
It's probably one of the nicest demos for playing with the CyberMaxx at 
present, but a lot better if you're using the 180K version of the HMD!

Cheers,

Robin
(r.hollands@sheffield.ac.uk)



