OSVR / OSVR-Vive

OSVR driver for use with the HTC Vive (including Vive PRE)
Apache License 2.0
62 stars 19 forks source link

Verify the time offset is going the right direction #9

Open rpavlik opened 8 years ago

rpavlik commented 8 years ago

SteamVR's docs aren't entirely clear to me as to which direction the time offset (found in some callbacks, but most notably tracker) should be applied.

See code links: https://github.com/OSVR/OSVR-Vive/blob/79977ed1d75720a2ccab228e030c3c6a3b7a094b/OSVRViveTracker.cpp#L105

and for example, these callbacks (in the Pose one, it's actually inside the struct) https://github.com/OSVR/OSVR-Vive/blob/79977ed1d75720a2ccab228e030c3c6a3b7a094b/OSVRViveTracker.cpp#L619

I picked a direction, but hard to know if I picked it right. The value for buttons seems to be always 0 in my testing, while the tracker value goes small but non-negligible values positive and negative, so no obviously answer there.