KevinDelao / Cloud-Backend-Project

0 stars 0 forks source link

Research how to save data from HTC vive to computer or rest service #3

Closed jsunthon closed 4 years ago

jsunthon commented 4 years ago

https://developer.vive.com/resources/viveport/

ocojulun commented 4 years ago

Based upon my "mock scene research," I actually ended up learning about OpenVR, which is the SDK? API? Layer? (I'm actually not sure what you'd officially call it) that works between the hardware and the software of the HTC Vive. I haven't had too much time to investigate this further but this is can definitely be a task I can look into next week! Here's a link to a simple tutorial that uses OpenVR to print out the positional data of each sensor so I believe this is worth investigating further:

Youtube Demo (1 minute and change): https://www.youtube.com/watch?v=xKhtvrxb8mY

Tutorial: https://skarredghost.com/2018/03/15/introduction-to-openvr-101-series-what-is-openvr-and-how-to-get-started-with-its-apis/

If I can get the script shown to work while we have a mock scene running, I think we'll have a breakthrough in our research.

jsunthon commented 4 years ago

Thanks, @ocojulun . I was also doing research and saw those same videos. I was about to post that.

An alternative (paid option) would be to purchase a parser is Brekel's Open VR Recorder. However, it is not free. It does record to a text file, and we can then create a service that takes in a text file, scans it, and saves it to a database.

I do think the OpenVR sdk is best option though. It requires knowing C++ though (which I don't, haha..)