![]() |
#1
|
|||
|
|||
Controller Coordinates and Euler angles
Hello! I'm using the Vive for proprioceptive reseach and need to get the coordinates of the controllers. I am new to Python but I tried manipulating the steamvr example like this:
import viz import vizact import vizshape import steamvr for controller in steamvr.getControllerList(): print "connected" total = 0 if total == 0: left_controller = controller total += 1 else: right_controller = controller print right_controller.getPosition() I get an error that 'right_controller' is not defines. I'd like to get the Euler angle and position output continuously while the programming is running. Any thoughts would be helpful. Thanks! Dave |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Oculus Rift Drift | teklab | Vizard | 20 | 04-01-2016 08:57 AM |
How to keep the Orientation of mainview same as the world coordinates in the vizard | jacky | Vizard | 1 | 05-17-2013 01:01 PM |
display the position and euler coords of the main view | Josh | Vizard | 1 | 03-22-2010 11:48 AM |
Dtrack and avatar -coordinates question | sircedric4 | Vizard | 3 | 09-08-2009 12:32 PM |