Forum Discussion
Qhelianthus
10 years agoHonored Guest
How to get the original sensor data
Hello everyone,
I'm a new developer of Oculus, I have few questions about the smaple code "OculusRoomTiny".
In recent two weeks, I have studied some documents, websites, blogs....,so I generally understand how the sample works,
but the point is, I want to get the "Original Sensor Data" catching by gyro, accelerometer, maganetometer !
Not quanternion, euler angle or matrix form.
Presently, I know the MessageBodyFrame object include the data I want, but don't know who send it out and
where it come from, hope someone can help me, thanks a lot.
-Curry Chen
I'm a new developer of Oculus, I have few questions about the smaple code "OculusRoomTiny".
In recent two weeks, I have studied some documents, websites, blogs....,so I generally understand how the sample works,
but the point is, I want to get the "Original Sensor Data" catching by gyro, accelerometer, maganetometer !
Not quanternion, euler angle or matrix form.
Presently, I know the MessageBodyFrame object include the data I want, but don't know who send it out and
where it come from, hope someone can help me, thanks a lot.
-Curry Chen
7 Replies
- cyberealityGrand ChampionYes, you can get these values from RawSensorData in ovrTrackingState.
You can get the state with this function: ovr_GetTrackingState.
https://developer.oculus.com/doc/0.8.0. ... 0720677a3b - QhelianthusHonored Guest
"cybereality" wrote:
Yes, you can get these values from RawSensorData in ovrTrackingState.
You can get the state with this function: ovr_GetTrackingState.
https://developer.oculus.com/doc/0.8.0. ... 0720677a3b
Really appreciate about your reply!
But...
what's the different between libOVR and CAPI ?
The reason I have this question is I can't find header "OVR_CAPI_0_8_0.h" in libOVR folder.
Thanks.
-Curry Chen - cyberealityGrand ChampionIt's in:
OculusSDK\LibOVR\Include
- QhelianthusHonored Guest
"cybereality" wrote:
It's in:OculusSDK\LibOVR\Include
Thanks for your help, again.
Unfortunately, there are only two header files in my Include folder, OVR.h and OVRVersion.h.
Maybe I misunderstand something.
Thanks for your assist!
- Curry Chen - cyberealityGrand ChampionDid you download the current versions (0.8) of the SDK from this link:
https://developer.oculus.com/downloads/ ... r_Windows/
Cause I tested it earlier today and I'm pretty sure that file is in there. - QhelianthusHonored Guest
"cybereality" wrote:
Did you download the current versions (0.8) of the SDK from this link:
https://developer.oculus.com/downloads/ ... r_Windows/
Cause I tested it earlier today and I'm pretty sure that file is in there.
I forgot my Oculus SDK is old version(0.2.5) =_=, ahhhhhh....
Thank you a lot!
Can I use the current version control DK1? (that's why I use version 0.2.5 at the beginning) - cyberealityGrand ChampionYes, DK1 should still work.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 6 months ago
- 4 months ago
- 10 months ago