This helps you use tracked VR devices from one company with any other. It aligns multiple tracking systems with a quick calibration step. It may not work for your setup, but there are many cases that work to a degree, and some work very well.
- Rift CV1 x Vive devices: works very well with the v2 (blue logo) trackers, v1 trackers (grey logo, not in production) have major interference issues in the IR spectrum, controller wands (both gen) and Index controllers work very well.
- Rift S, Quest, Windows MR, other SLAM inside-out tracked HMDs x Vive devices: works very well when you aren't moving around the room far (e.g. Beat Saber) but a lot of walking around causes a nontrivial amount of drift between systems. Your results may vary depending on your space. It's possible some of this can be fixed in software with a better calibration algorithm.
- Quest wireless streaming is particularly bad right now and requires frequent recalibration, but it does work for a short time until one of many factors causes it to drift. With wireless devices, moving slowly when calibrating and using the Slow or Very Slow calibration modes is effective at reducing the initial error.
- Any non-Rift HMD x Touch controllers: does not work, the Oculus driver requires the HMD is a Rift. It's theoretically possible to work around this in software but as far as I know it hasn't been done as it would require a fair amount of reverse engineering effort.
There is a community of a few thousand on Discord and a newer community on Reddit. You may find the answer to your question in the wiki.
A quick video of how this works using an old version (~v0.3) is available at https://www.youtube.com/watch?v=W3TnQd9JMl4. The user interface has been upgraded since then; the calibration is now done via a SteamVR dashboard menu, and there's much more configurability.
Before following the directions below, download and run the installer for the latest release. This will automatically set up SteamVR for use with multiple tracking systems (activateMultipleDrivers: true
). There are many guides that say you need to edit the SteamVR config manually. You do not.
Once Space Calibrator has a calibration, it works in the background to keep your devices configured correctly. Since v0.8, everything aside from creating the calibration is automated.
This fork supports continuous calibration. This means that there are two ways to calibrate:
Use this if you do not have a tracker on your VR headset.
As part of first time setup, or when you make a change to your space (e.g. move a sensor), and occasionally as the calibration drifts over time (consumer VR tracking isn't perfectly stable), you'll need to run a calibration:
-
Copy the chaperone/guardian bounds from your HMD's play space. This doesn't need to be run if your HMD's play space hasn't changed since last time you copied it. Example: if you're using the Rift with Vive trackers and you bump a Vive lighthouse, or if the calibration has just drifted a little, you likely don't need to run this step, but if you bump an Oculus sensor you will (after running Oculus guardian setup again).
- Run SteamVR, with only devices from your HMD's tracking system powered on. Example: for Rift with Vive trackers, don't turn on the trackers yet.
- Confirm your chaperone/guardian is set up with the walls in the right place. If you change it later, you need to run step again.
- Open SPACE CAL in the SteamVR dashboard overlay.
- Click
Copy Chaperone Bounds to profile
-
Calibrate devices.
- Open SteamVR if you haven't already. Turn on some or all your devices.
- Open SPACE CAL in the SteamVR dashboard overlay.
- Select one device from the reference space on the left and one device from the target space on the right. If you turned on multiple devices from one space and can't tell which one is selected, click "Identify selected devices" to blink an LED or vibrate it. Example: for Rift with Vive trackers, you'll see the Touch controllers on the left, and Vive trackers on the right. Pro tip: if you turn on just one Vive tracker, you don't have to figure out which one is selected.
- Hold these two devices in one hand, like they're glued together. If they slip, calibration won't work as well.
- Click
Start Calibration
- Move and rotate your hand around slowly a few times, like you're calibrating the compass on your phone. You want to sample as many orientations as possible.
- Done! A profile will be saved automatically. If you haven't already, turn on all your devices. Space Calibrator will automatically apply the calibration to devices as they turn on.
Use this only if you have a tracker on your VR headset.
Continuous calibration allows you to calibrate playspaces continuously, eliminating the need to do any of the work above.
-
Start SteamVR with the VR headset you wish to use.
-
Turn on ONLY the tracker which is attached on the VR headset.
-
Select the VR headset and tracker and calibrate.
-
Turn on your other devices.
-
You should see them line up with you as you after moving around your playspace for a bit for an initial calibration.
You can calibrate without using the dashboard overlay by unminimizing Space Calibrator after opening SteamVR (it starts minimized). This is required if you're calibrating for a lone HMD without any devices in its tracking system.
Open OpenVR-SpaceCalibrator.sln
in Visual Studio 2017 and build. There are no external dependencies.
See math.pdf for details. If you have some ideas for how to improve the calibration process, let me know!