PDA

View Full Version : xbox one controller as tracker


bbb
01-15-2016, 02:13 AM
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.

Jeff
01-15-2016, 08:24 PM
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.

bbb
01-17-2016, 05:10 AM
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)

Jeff
01-18-2016, 05:28 AM
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?

bbb
01-18-2016, 07:17 AM
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?