-
Notifications
You must be signed in to change notification settings - Fork 260
Description
I am trying to access the VRIOBuffer to read IMU data using the functionality added in OpenVR release v1.0.15. I am able to implement this behavior correctly in C++ by following the example as laid out in the openVR wiki documentation. I am failing to access the same data in Unity.
There are definitions for the ImuSample_t struct and a wrapper class for VRIOBuffer itself, so it seems like this is intended to be exposed, but not completed.
There is no public accessor for VRIOBuffer under COpenVRContext in the current public iteration of OpenVR_api.cs and adding an accessor fails on the GetGenericInterface call. The GetGenericInterface call itself returns null if you follow the pattern of using the FnTable prefix + Module Version String (example). If you try to access the interface without the FnTable prefix, using the exact same parameters as the C++ examples, you fail on invoking any function on the CVRIOBuffer object you are returned.
Access to this data in C#/Unity would be immensely helpful.