WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   HTC Vive Controller not working (https://forum.worldviz.com/showthread.php?t=5731)

Seadna 05-23-2016 11:23 AM

HTC Vive Controller not working
 
Hi there,

I have successfully loaded the example script with the Vive headset working flawlessly. However i cannot seem to get the controllers to work. I ran the example script but cannot see the controllers. The controllers are on and they work in other applications.

Any help is much appreciated.

Jeff 05-24-2016 03:22 AM

Are there any controllers returned by the steamvr.getControllerList() command? Does the following print 'connected' for each controller?

Code:

import viz
import steamvr

viz.go()

hmd = steamvr.HMD()
if not hmd.getSensor():
        sys.exit('SteamVR HMD not detected')
       
for controller in steamvr.getControllerList():
        print 'connected'


Seadna 10-22-2016 08:59 AM

They work now, but only when they are turned on before running my code. Thanks for help.


All times are GMT -7. The time now is 01:49 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC