-
Notifications
You must be signed in to change notification settings - Fork 901
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
RF: Update Rift
class to use PsychXR 0.2+
#2655
Conversation
…ntation cross-refs.
…e I was there I added a __all__ directive.
This pull request introduces 4 alerts and fixes 5 when merging b2f62ed into 2fbff14 - view on LGTM.com new alerts:
fixed alerts:
|
This pull request introduces 1 alert and fixes 5 when merging 45c4e3c into 2fbff14 - view on LGTM.com new alerts:
fixed alerts:
|
This pull request introduces 1 alert and fixes 5 when merging 99d35b9 into 2fbff14 - view on LGTM.com new alerts:
fixed alerts:
|
Remove invalid `stepType` parameter description in doc (duplicate entry)
Update staircase.py
…ntation cross-refs.
…e I was there I added a __all__ directive.
This pull request fixes 1 alert when merging 0c1863d into fc51f9e - view on LGTM.com fixed alerts:
|
This pull request fixes 1 alert when merging 2483d49 into fc51f9e - view on LGTM.com fixed alerts:
|
Here's the big one. This is the update to the Rift class for PsychXR 0.2+. This adds loads of new features to the Rift class that come with nearly a year's worth of development to PsychXR in a laboratory environment.
LibOVRPose
. This greatly simplifies rigid body transformations in VR scenes. If you want to do some math that is not available throughLibOVRPose
's methods, nearly all of it is inmathtools
library now. Furthermore, PsychXR returns vectors, matrices, and quaternions as numpy arrays. So you can use them more readily with your code. TheLibOVRPose
object will have a common interface with the incomingRigidBody
class for the 3D stim class. This allows you to directly use pose data from the Rift to transform 3D stimuli.LibOVRBounds
object and attaching it to aLibOVRPose
representing your scene object.getDevicePoses
method.headLocked
attribute.LibOVRTrackingState
object which reports device poses and tracking status.getTrackingState
andgetDevicePoses
gives information about dynamics such as linear and angular velocity and acceleration.LibOVRHapticsBuffer
object can be used to map vibration samples stored in numpy arrays to the haptics engine for playback.