cmbruns / pyopenxr

Unofficial python bindings for OpenXR access to VR and AR devices
Apache License 2.0
103 stars 8 forks source link

track_controller.py xt.locate_space XrTime issue #109

Open JHMeusener opened 3 months ago

JHMeusener commented 3 months ago

Hello, i do run into the following issue when running the track_controller.py:

Exception has occurred: TimeInvalidError The provided basetype:XrTime was zero, negative, or out of range. File "/xr_examples/track_controller.py", line 109, in space_location = xr.locate_space( ^^^^^^^^^^^^^^^^ xr.exception.TimeInvalidError: The provided basetype:XrTime was zero, negative, or out of range.

Debugging shows that the predicted_display_time is some positive integer and seems to be okay if not out of range, so the input may okay regarding the time-component. I am not sure where the error can come from. My System is Ubuntu 22.04 using SteamVR v1.14.16, a HTC Vive and python 3.11.5 Does anybody else experience this error, has it working somehow, knows a possible fix or can help? Thanks in advance!