Hi *,
i'm trying to use the wiimote for a virtual reality application at the university. For this i have to use a windows pc with bluetooth to work with the wiimote and send the tracker data to a linux pc that does all the 3D stuff. I'm doing this with a vrpn connection that uses quaternions to transmit orientation data.
I know that i cant use the z axis accelerometer for orientation but i'd like to use the other axis to control some stuff.
My problem is that i know how to translate the data from the wiimote (between -1 and 1) to angles (degrees) but i don't know how to handle this data. I found several tips on the inet to translate euler angles or an orientation matrix to a quaternion but i can't just act as if my degrees from the wiimote were euler angles, do i?
So maybe someone has an idea how to translate my sensor data to a rotation matrix or even to a quaternion.
It shouldn't be too diffucult but i'm a little confused.
Greetings from Germany
Nils