View Single Post
  #1  
Old 05-25-2018, 12:00 PM
zumbay zumbay is offline
Member
 
Join Date: Oct 2016
Posts: 16
steamvr controller for htc vive unresponsive

Maybe somebody can help with this,

I am using the smi plug-in for the htc vive and now my vive controller is not responsive anymore - last time the same script worked was on the 8th of May and it wasn't tried since.
Not sure if this is related to the latest steamvr updates, but it matches the timing!

Code:
# Connect to Vive eye tracker
smi = viz.add('smi_vive.dle')
eyeTracker = smi.addEyeTracker()

# Add controllers
for controller in steamvr.getControllerList():
	# Create model for controller
	controller = controller
	controller.model = controller.addModel(parent=navigationNode)
	controller.model.disable(viz.INTERSECTION)
	controller.distance = 1
	viz.link(controller, controller.model)

def printer():
	print('button')
vizact.onsensordown(controller, steamvr.BUTTON_TRIGGER, printer)
If I comment out the ""addEyeTracker" line onsensordown works, if not - nothing happens.

I am running Vizard5 and SteamVR beta Version 1527202199.

Thanks!
Reply With Quote