Quaternion local rotation


by Registred
Tags: local, quaternion, rotation
Registred
Registred is offline
#1
Nov27-13, 05:49 AM
P: 4
Hey,

Once again, I got a question about quaternions.
Say I have an initial rotation Q1. I now want to rotate Q1 on the X and then on the Y axis. BUT: The Y rotation should apply to the local Y axis which was given in Q1.

The problem is:
If i rotate Q1 by the X-rotation Q2, then the Y axis changes for Q1*Q2. So, since quaternion multiplication is noncommutativ, if I then apply the Y-rotation Q3, I don't rotate about the original Y axis of Q1.

How can I rotate quaternions this way?

Greetings!
Phys.Org News Partner Mathematics news on Phys.org
Math modeling handbook now available
Hyperbolic homogeneous polynomials, oh my!
Researchers help Boston Marathon organizers plan for 2014 race
nmf77
nmf77 is offline
#2
Dec1-13, 01:54 PM
P: 13
I assume that the rotations around X and Y will be achieved by applying by two separate quaternion increments, call them QX and QY. Assuming this is the case I think you need to proceed as follows;

1. apply the QX rotation to Q1, call the result R1.
2. apply the QX rotation to the QY rotation increment - this transforms the Y axis rotation from the original frame of reference to the frame that exists after you've done the X rotation. Call the modified QY increment QY'
3. apply QY' to R1


Register to reply

Related Discussions
P(x) has two local maxima and one local minimum. Answer the following Calculus & Beyond Homework 2
Global rotation to local? General Physics 1
Problem with quaternion rotation maths Differential Geometry 5
Coordinate System Rotation Matrix (global to local) Calculus & Beyond Homework 3
A proof that all signal local theories have local interpretations. Quantum Physics 3