X

Photo courtesy Peter Hollander

How to Use the HTC Vive Tracker Without a Vive Headset

    Categories: Guest ArticlesNewsSteamVR TrackingVR Development

Valve’s SteamVR Tracking system is great for VR but certainly not limited to it. For developers, hackers, researchers, and more who might have use for an inexpensive high accuracy, low latency, 6 DOF positional tracking system, it’s possible to use the new Vive Trackers or controllers (even with a single base station) without needing to shell out for the full $800 Vive system.

Guest Article by Luke Beno

Beno runs Triad Semiconductor’s Arctic VR Lab (aka Triad’s Green Bay Lab – Go Pack!). Triad Semiconductor worked with Valve Corporation to create the Light to Digital Converter ICs (TS3633) for SteamVR Tracking. Beno speaks Python and English and his office smells of solder and 3D printing. He spends his days and nights ensuring that SteamVR Tracking ICs and systems provide precision tracking and he supports SteamVR users around the globe with the development of Tracked Objects.

The purpose of this tutorial is to provide step by step guidance on how to get started with SteamVR Tracking 6DOF positional tracking for as little as $235. In this tutorial, the latest version of SteamVR Beta, is coupled with python 3.6, the pyopenvr library and the triad_openvr Python wrapper.

Minimum Hardware Needed:

  • One HTC Vive Basestation (Two Basestations also have advantages)
  • One of the following SteamVR compatible Tracked Objects:
  • x86-based PC

Software Required:

Note: Currently this is only tested on Windows but should also apply to Linux

Steps:

  1. Download and install the above software components
  2. Locate the following configuration file and open it with a text editor: <Steam Directory>steamappscommonSteamVRresourcessettingsdefault.vrsettings
  3. Search for the “requireHmd” key under “steamvr”, set the value of this key to “false”.  The following is a .vrsettings file that has been tested as functional:
  4. If SteamVR is running, close and restart it
  5. When SteamVR restarts, you will see that it is now possible to connect a tracker or controller without the HMD.
    Note: “Not Ready” text is normal and does not impact this tutorial
  6. Open a command prompt and navigate to the folder where triad_openvr was unzipped
  7. If you are testing with a Vive Tracker, run the following script
    python tracker_test.py
  8. If you are testing with a Controller, run the following script
    python controller_text.py
  9. As the script executes, you will see numbers updating at 250Hz. These are the realtime 6DOF pose coordinates!

The purpose of this tutorial was strictly to provide a quick proof of concept that demonstrates that an HMD is in fact not a requirement for use of SteamVR.

Python is an extremely extensible language and this example code may provide a basis for many derivative projects.  These same concepts also easily apply to other programming languages such as C, C++ C#, etc.

If you have any questions or would like to share your project based on this tutorial, please contact us at info@triadsemi.com.