Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
MetsoVR's avatar
MetsoVR
Honored Guest
8 years ago

Oculus touch orientation data changing over time

Hi,
I am trying to build an application which uses the orientation data from the left and right touch controllers. 

The problem is that the values change even though I keep the controller still at the same position. 
For example, when I start my application and print out the coordinates with 

printf(" X %f \n", leftHandOrientation.Orientation.x );
printf(" Y %f \n", leftHandOrientation.Orientation.y );

I get the following values
 X -0.655980
 Y 0.075645
After 5 seconds, with the controller laying on the table at the exact same position I get 
 X -0.630000
 Y 0.069918

I get the coordinates by doing the following. 

while(true){
ovrTrackingState ts = ovr_GetTrackingState(session, 0, true);
ovrPosef leftHandOrientation = ts.HandPoses[ovrHand_Left].ThePose;
printf(" X %f \n", leftHandOrientation.Orientation.x );
printf(" Y %f \n", leftHandOrientation.Orientation.y );
}

1 Reply

  • hello, yes that would be really good cause i was gonna make a topic about the same bug mesto is telling
    about please update me too regarding the result