Update Demos authored by Colton Glick's avatar Colton Glick
......@@ -5,3 +5,44 @@
- [Steam VR API](https://valvesoftware.github.io/steamvr_unity_plugin/api/Valve.VR.TrackedDevicePose_t.html)
- [Python binding for openVR calls](https://github.com/cmbruns/pyopenvr)
- [getting roll pitch yaw from VR pose](https://gamedev.stackexchange.com/questions/50963/how-to-extract-euler-angles-from-transformation-matrix)
## Setup
1. install steam vr from steam client (in steam store)
2. setup steam vr config to use multiple drivers, force null headset, and stop screen sleeping, `C:\Program Files (x86)\Steam\config\steamvr.vrsettings`
```json
{
...
...
"power" : {
"pauseCompositorOnStandby" : false,
"turnOffScreensTimeout" : 3000
},
"driver_null" : {
"enable" : true,
"serialNumber" : "Null Serial Number",
"modelNumber" : "Null Model Number",
"windowX" : 0,
"windowY" : 0,
"windowWidth" : 1920,
"windowHeight" : 1080,
"renderWidth" : 1920,
"renderHeight" : 1060,
"secondsFromVsyncToPhotons" : 0.01111111,
"displayFrequency" : 60.0
},
"steamvr" : {
"activateMultipleDrivers" : true,
"forcedDriver": "null",
"enableHome": false,
...
}
...
...
}
```
3. Power on the Vive controller
4. Plug-in Vive controller via USB or wirelessly with a wireless dongle
5. start Steam VR
6. run room scale setup like normal
7. start crazyflie demo