This is an enhanced wrapper for the already excellent pyopenvr library by cmbruns. The goal of this library is to create easy to use python functions for any SteamVR tracked system.
Switch branches/tags
Nothing to show
Clone or download
lgbeno Update example_default.vrsettings
Updating example vr settings for use of null driver
Latest commit 5ca28a6 May 15, 2018

README.md

Triad OpenVR Python Wrapper

This is an enhanced wrapper for the already excellent pyopenvr library by cmbruns. The goal of this library is to create easy to use python functions for any SteamVR tracked system.

Getting Started

import triad_openvr as vr
import pylab as plt
v = vr.triad_openvr()
data = v.devices["controller_1"].sample(1000,250)
plt.plot(data.time,data.x)
plt.title('Controller X Coordinate')
plt.xlabel('Time (seconds)')
plt.ylabel('X Coordinate (meters)')

Example plot of captured data