WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-04-2019, 07:50 AM
Corn Corn is offline
Member
 
Join Date: Jun 2018
Posts: 1
Oculus Touch Controllers as Input?

Hi all,
I have a new problem with the buttons, triggers and sticks of the Oculus Touch Controllers -- since the last updates of the Oculus and Vizard apps, Vizard does apparently not get these informations anymore (while the tracking of the controllers still works fine).
This holds both for trying to use the Touch Controllers as "Inputs" in Vizconnect (the GUI will indicate that they are connected but not active by a dark green circle), and for simple Vizard scripts such as the one in the end of this thread - no matter which position you hold the joystick in.

Formerly working scripts do not work anymore in the moment. With other Oculus apps, the controllers work fine and they are shown as fully charged, so this is not the problem apparently. I would appreciate any ideas on this! Thank you!

import viz
import vizact
import oculus

hmd = oculus.Rift()
touchRight = hmd.getRightTouchController()

def printStickPosition():
print(str(touchRight.getStick()))

vizact.onupdate(0, printStickPosition)

viz.go()
Reply With Quote
  #2  
Old 03-10-2019, 10:57 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
If the Oculus headset is not worn, the controllers may not send data.
Reply With Quote
Reply

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
Hand gestures with Oculus Touch ms1551 Vizard 1 08-03-2017 05:28 AM
Which Vizard5 version to use with Oculus Rift DK2? rdkirkden Vizard 3 06-16-2017 08:33 AM
Oculus Rift + Vizard help required sukhpreet Vizard 1 01-03-2017 10:52 AM
Xbox controller and Oculus DK2 prilpi Vizard 17 03-28-2016 05:00 AM
Oculus runtime disrupts clustering to mirror DK2 display performlabrit Vizard 1 01-23-2015 07:00 AM


All times are GMT -7. The time now is 03:08 AM.


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