-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a headless example #6
Comments
Hey, Thanks for making this. I'm no great programmer but I have tried so hard to break my head and get it to work by myself and I've looked far and wide but without examples online, I think I jumped into something bigger than I can handle. Basically all of this to say: |
I briefly tried this on win10/steamvr which also reports that with xr.InstanceObject(application_name="track_hmd", enabled_extensions=["XR_MND_headless"]) as instance, \
xr.SystemObject(instance) as system, \
xr.SessionObject(system, graphics_binding=None) as session: and it will print hmd poses while remaining in the steamvr polar grid. However, I tried removing the
https://github.com/cmbruns/pyopenxr/blob/85bdaf3ae249192f77c047a6bd766c8be321867d/src/xr/classes.py#L225-L227 looks like it tries to take the predicted display time from the (presumably blank) frame_state; I'm not yet familiar enough with openxr to debug beyond this. Unfortunately, with the frame calls in, launching |
I recently noticed
XR_MND_headless
is an available extension on my Linux/SteamVR platform. So now I might be able to create an example for this without spinning my wheels trying to get Monado installed.The text was updated successfully, but these errors were encountered: