WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-08-2009, 11:32 AM
sircedric4 sircedric4 is offline
Member
 
Join Date: Aug 2009
Posts: 22
Quote:
Originally Posted by sircedric4 View Post
Thanks, I pretty much had the same conclusion but was having a hard time calculating what that rotation difference was, which is why I asked for the coordinate axis image. Thank you for the code, that helped as well as letting me know that the avatar initial position is 0 for all the coordinates involved. I am still trying to figure out the math but this did answer my question.
The math for my problem is still driving me crazy. I obviously do not have a handle on whether to use quaternion, axis angle or euler to easily adjust my axis to match those of the hand. I am attaching a picture of the two points and how they relate to each other. The smaller red-blue-green lines is the avatar axis system, the larger red-blue-green lines are what my Dtrack is giving me for my euler position.

As you can see, I need to rotate the system around the green axis by 90 degrees in one direction, and then rotate the system 90 degrees around the new position of the blue axis in order to get my axis to match the avatar axis.

Can someone point me to a good, easy to understand reference/web site on how to get what rotation value I need, and which of the coordinate systems in Vizard will be easiest to use to do the rotation. It has not been as simple as just subtracting 90 from the euler numbers that represent the green and blue axis. I think I am probably supposed to use quarternion but I really could use some help.
Attached Thumbnails
Click image for larger version

Name:	Axis Difference.JPG
Views:	4168
Size:	8.9 KB
ID:	342  
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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


All times are GMT -7. The time now is 08:42 AM.


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