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.
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.
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.