![]() |
#1
|
|||
|
|||
preEuler help?
Hey all,
preEuler doesn't seem to work how I understand it to. I want to wear the HMD at a certain orientation, measure the Euler, and then apply the opposite of the Euler values as a preEuler. Would that not then make the orientation [0,0,0]? the code that I am using is like this: Code:
isense = viz.add('intersense.dle') tr = isense.addTracker() main = viz.link(tr,viz.MainView) def mainLoop(): viztask.waitKeyDown(' ') ori = main.getEuler() main.preEuler([-1*ori[0],-1*ori[1],-1*ori[2]],2,viz.LINK_ORI_OP) print main.getEuler() Am I doing this right? |
|
|