Forum Discussion

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

IR CameraPose Speed

Hello,

Didn´t get an answer for my problem.

I want to get the current camera position/rotation of the IR camera.
You can get the IMU from the Headset with


ovrTrackingState ts = ovrHmd_GetTrackingState(hmd, frameTiming.ScanoutMidpointSeconds);
Posef pose = ts.HeadPose.ThePose;
pose.Rotation.GetEulerAngles<Axis_Y, Axis_X, Axis_Z>(&yaw, &pitch, &roll);


This happens as expected very fast and accurate.

When accessing the camera pose with


Posef cam = ts.CameraPose;
cam.Rotation.GetEulerAngles<Axis_Y, Axis_X, Axis_Z>(&cyaw, &cpitch, &croll);


the values are only updated once in 1-2 seconds.

I know that the tracking of the LEDs and the pose calculations need some time, but not as long as this.
Has anyone figured out how this could be made update faster?
Or where the camera pose calculations are done within the SDK?

greets
No RepliesBe the first to reply