WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-23-2016, 11:23 AM
Seadna Seadna is offline
Member
 
Join Date: Nov 2015
Posts: 40
Question 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.
Reply With Quote
  #2  
Old 05-24-2016, 03:22 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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'
Reply With Quote
  #3  
Old 10-22-2016, 08:59 AM
Seadna Seadna is offline
Member
 
Join Date: Nov 2015
Posts: 40
They work now, but only when they are turned on before running my code. Thanks for help.
Reply With Quote
  #4  
Old 04-20-2021, 04:10 AM
Roy Roy is offline
Member
 
Join Date: Dec 2019
Posts: 12
Hi,

I have the same problem.
Although the controller preferences in steamVR is fine, it doesn't work in vizard program.

When I write codes as below,
Code:
for controller in steamvr.getControllerList():
	print 'vive controller connected'
vizconfig.register(controller)
vizconfig.getConfigWindow().setWindowVisible(True)

for device in steamvr.getControllerList(): #check VR device
	print device
it says
Code:
steamvr.dle              	SteamVR Extension
vive controller connected
__builtin__.SteamVRController(1)
vizconfig shows the window as attached image, but any keys don't work. Also, I tried viztask.waitSensorDown(controller, steamvr.BUTTON_TRACKPAD), but it never work.
Attached Thumbnails
Click image for larger version

Name:	vizconfig.png
Views:	2796
Size:	13.8 KB
ID:	990  
Reply With Quote
  #5  
Old 04-21-2021, 07:40 AM
sado_rabaudi sado_rabaudi is offline
WorldViz Team Member
 
Join Date: Jul 2016
Posts: 40
Hi Roy,

If you go to tools- vizconnect and choose the SteamVR preset, then go to start page- advanced- inputs do you see a green button or red x next to the r_hand_input and l_hand_input?

Also, the controllers are showing as lit up in SteamVR?

Best,
Sado
Reply With Quote
Reply

Tags
controller, htc vive, issue

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PPT markers off in Vive? pitbool Precision Position Tracker (PPT) 4 06-09-2016 11:20 PM
xbox one controller as tracker bbb Vizard 4 01-18-2016 07:17 AM
XBOX360 USB controller intermittently working fivel_lab Vizard 2 01-26-2015 07:09 PM
XBOX One Wireless Controller JB_HP_Viz Vizard 1 07-08-2014 05:45 AM
PS3 controller Darkmax Plug-in development 2 02-26-2010 11:57 AM


All times are GMT -7. The time now is 06:55 PM.


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