(Disclaimer: This software is provided as is, without warranty. It is not associated in any way with EMagin. Use at your own risk)
I have developed a GUI for the EMagin Z800 3D Visor seen below (see VTrak for an optical tracking system to augment the orientation sensor built into the hmd)
This is a control program for the z800 visor by EMagin. The motivation behind it was to create a simple program to access the rather advanced tracker inside the headset in a simplified manner...a VRPN tracker.
The major contribution is that it gets rid of those pesky Euler angles in favor of a quaternion. The quaternion is formatted so that it is correct from an OpenGL perspective.
The Z800 tracker only works in a limited range...it screws up badly if you turn it upside down. It should be pretty good otherwise though. It can get messed up over time. If it does, just reconnect again and it will be back to normal.
The position given by the VRPN tracker means nothing...maybe someone wants to write an integrator that at least gives you some idea of position... but errors will grow substantially.
You can access the acceleration and angular accelerations through the normal VRPN mechanisms. Acceleration is given in m/s/s I think...it's just what the z800 outputs by default. Angular acceleration isn't given in normal terms because it maxes out...The z800 provides values between 0 and 1024 for rotation about x, y, and z. I normalize these between -1 and 1 and output them in the x, y and z values of the VRPN quaternion field for angular acceleration.
You can just run the program with your z800 connected. If you wish to change the name or port of the tracker you can do so via the command line. The first parameter is the name (default z800). The second parameter is the port (default 3883).
I provide sample client code in Client.zip. You can probably just use the provided class directly in your programs.