I am trying to calculate Euler angles (yaw,pitch and roll) in degree for my demo. The device i am using is Astra S . I have asked the same issue few days back but the reply i received didn’t solved my problem.
I have following queries:-
1).Flattened array contain elements in following order
nuitrack::orientation::matrix = 1 2 3 4 5 6 7 8 9
how to fill 3x3 matrix using above flattened matrix
2). I have been told to use following link
Please note that instead of the following code:
Vector3f ea = mat.eulerAngles(2, 0, 2);
you have to use:
Vector3f ea = mat.eulerAngles(2, 1, 0);
So my question is the how euler angles are stored in variable ea , i mean
yaw =ea , pitch = ea and roll = ea or some thing else.
- In one of your article “https://nuitrack.com/tutorial01” I found that
"Nuitrack does not track the rotation of the head due to technical limitations, so you need to use the GoogleVR plugin for simple helmets or OcculusVR for the GearVR platform. "
So can i expect correct yaw, pitch, roll values from your libraries or not ?