WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-15-2016, 03:13 AM
bbb bbb is offline
Member
 
Join Date: Nov 2015
Posts: 46
xbox one controller as tracker

Hello everyone,
Does anyone know how can i use xb1 controller as a position tracker?
The only option i saw for xbox is as input via vizconnect.
My second problem is to use buttons of xb1 to know if up/down/left/right was pressed like keyboard in order to be able to use transformation matrix for complex movements. Furthermore, that is connected to problem no 1 because it's only allow me to use xb1 as input and not as tracker.
I also want to use xb1 controller thumb for only rotate the view but stay in the same position, how can i do that?

Any help would be appreciated.
Reply With Quote
  #2  
Old 01-15-2016, 09:24 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,461
If you want to use the controller to move the viewpoint around, add a vizconnect transport object.

1. From the inputs tab, add a Microsoft Xbox controller input
2. From the transports tab, add a new transport (e.g. walking)
3. Press the mapping button and map input signals to the movements you want to allow.
Reply With Quote
  #3  
Old 01-17-2016, 06:10 AM
bbb bbb is offline
Member
 
Join Date: Nov 2015
Posts: 46
Thanks Jeff, works prefect.
The only concern i have is that appear a warning of "ImportWarning: Not importing directory 'oculus': missing __init__.py
import oculus", why is it happens? (it's doing the job although warning appears)
Reply With Quote
  #4  
Old 01-18-2016, 06:28 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,461
Do you get that warning when you run the oculusExample.py script included with Vizard? What version of Vizard and the Oculus runtime are you running?
Reply With Quote
  #5  
Old 01-18-2016, 08:17 AM
bbb bbb is offline
Member
 
Join Date: Nov 2015
Posts: 46
I don't have the warning when using the oculusExample.
I have vizard 5.2 and oculus 0.6 runtime.
Do you have any idea why is it happening?
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
Joystick and XBox Controller in DirectInput? shivanangel Vizard 8 04-17-2015 04:25 PM
XBOX 360 wireless controller vibration feedback JB_HP_Viz Vizard 5 08-27-2014 04:27 AM
XBOX One Wireless Controller JB_HP_Viz Vizard 1 07-08-2014 06:45 AM
Rumble on Xbox 360 controller on PC pcatalano Vizard 1 03-11-2012 05:36 PM
The problem of tracker using via VRPN _kj_ Vizard 2 08-13-2009 01:03 AM


All times are GMT -7. The time now is 05:28 AM.


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