WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-21-2013, 04:34 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
What tracking system are you using? The following code will do a right-to-left conversion:
Code:
#Negate Z value of position 
headTracker.swapPos([1,2,-3]) 

#Negate X,Y value of quaternion 
headTracker.swapQuat([-1,-2,3,4])
Reply With Quote
  #2  
Old 11-22-2013, 01:36 AM
ChrisMa ChrisMa is offline
Member
 
Join Date: Sep 2013
Posts: 13
Hi Jeff,

Vicon Tracker.
Reply With Quote
  #3  
Old 11-22-2013, 04:25 AM
ChrisMa ChrisMa is offline
Member
 
Join Date: Sep 2013
Posts: 13
I really don't understand it. After two ours of trying I found this as a working solution.
Code:
#Negate Z value of position 
head.swapPos([-1,3,-2]) 

#Negate X,Y value of quaternion 
head.swapQuat([-1,-3,-2,4])
The Z Value of the Head Target is pointing to the sky, the y-axis in viewwing direction and the x Axis to the right side of the user.


I would really appreciate if you could give me some Input on the swapQuat funkction.

Thanks!

Last edited by ChrisMa; 11-22-2013 at 04:27 AM.
Reply With Quote
Reply


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
Custom Joystick Rotation mhead10 Vizard 9 11-26-2012 12:06 PM
set bone rotation - cal3d munteanu24d Vizard 0 03-23-2010 04:25 AM
Unable to perform 360 rotation using vizact.spinto vijaykiran Vizard 2 09-29-2009 08:39 AM
tracking head rotation orientation VAmanda Vizard 3 09-21-2005 04:57 PM
getting absolute rotation tavaksai Vizard 1 08-03-2004 01:40 PM


All times are GMT -7. The time now is 03:41 PM.


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