# Triad OpenVR Python Wrapper
This is an enhanced wrapper for the already excellent [pyopenvr library](https://github.com/cmbruns/pyopenvr) by [cmbruns](https://github.com/cmbruns). The goal of this library is to create easy to use python functions for any SteamVR tracked system.
# Getting Started
```python
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](images/simple_xcoord_plot.png "Example Plot")
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
triad_openvr-master.zip (9个子文件)
triad_openvr-master
example_default.vrsettings 3KB
README.md 643B
tracker_test.py 619B
triad_openvr.py 8KB
udp_emitter.py 763B
controller_test.py 622B
__pycache__
triad_openvr.cpython-35.pyc 7KB
images
simple_xcoord_plot.png 63KB
udp_receiver.cs 2KB
共 9 条
- 1
资源评论
- humaoxiao32019-10-11挺好用的可以
土豪gold
- 粉丝: 1299
- 资源: 46
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功