HeadTracking Rotation does not match
Hello everybody,
I really tried hard. But I don't get the Rotation of my Head right. The positional tracking works as I wanted it. Is swapQuat the right command for it? For example, if i roll the Headtarget the view pitches upwards. I don't understand the positions in the swapQuat. 1,2,3 means Rotation around the x,y,z achses from my tracking Device, right? My Tracking Target has the z-axis in viewing direction, y to the sky and x to the left. The Position in the matrix coresponds to the axis of my mainview. This is Z in the direction of my view and x to the right and y in the sky, right? Code:
head.swapPos([-1,3,-2]) I just dont get it what to do. Can you help? Thanks a lot for a quick reply! |
What tracking system are you using? The following code will do a right-to-left conversion:
Code:
#Negate Z value of position |
Hi Jeff,
Vicon Tracker. |
I really don't understand it. After two ours of trying I found this as a working solution.
Code:
#Negate Z value of position I would really appreciate if you could give me some Input on the swapQuat funkction. Thanks! |
All times are GMT -7. The time now is 06:27 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC