0
votes
0answers
10 views

Translating Quaternion rotation from one frame of reference to another.

I have been having issues getting around this for quite a few days. I will appreciate any input or advice. I have a sphere (A) with an applied axis rotation of lets say -45 degrees around the Z-axis. ...
0
votes
0answers
32 views

Rotation plane on the sphere (quarternion)

I asked similar question on stackoverflow but still no answers.http://stackoverflow.com/questions/25185329/image-rotation-with-the-gyro-data-math I assume it is more math than programming problem. ...
1
vote
2answers
50 views

Derive a quaternion from three axis

My problem originates from some code that I'm writing to parse an obscure file-type in which a geometric entity is defined in it's own 'local space', and a rotation and translation are provided to ...
1
vote
0answers
152 views

Transform a vector to global frame and ignore rotation about one axis or Full tilt compensated magnetometer

Good day everyone. I would like to lock the rotation about one specified axis. For example, let`s imagine that we have a quaternion which desribes the orientation of our rigid body relative to the ...
0
votes
0answers
47 views

Quarternions from MPU and circumference of circles

First I should mention that my math skills are super basic. I do not understand formulas but I do understand pseudo code, C, C++, and other programming languages. I've been working on a electronics ...
0
votes
1answer
68 views

How to rotate a 3d vector to be parallel to another 3d vector using quaternions?

I have a vector (a,b,c) and another vector (d,e,f). I'm trying to rotate (a,b,c) so its parallel to (d,e,f) using quaternions. I need help understanding how I would do this. I have so far that a ...
0
votes
0answers
43 views

Normalization of Euler angle data

I have head motion data for several speakers. Because not every speaker sat in the exact same position during recording I have to normalize the data. One option to do this, I think, would be to ...
2
votes
1answer
127 views

Algorithm for finding orientation of each face on a polyhedron?

I am working on making a dice rolling application and I need to find out how far in each of the three dimensions I must rotate each of the dice to make the correct side face the camera so the user can ...
2
votes
3answers
884 views

Composition of two axis-angle rotations

Please note that I am not referring to Euler angles of the form (α,β,γ). I am referring to the axis-angle representation, in which a unit vector indicates the direction axis of a rotation and a scalar ...
1
vote
1answer
609 views

Coordinate Transformation on Local coordinate system

I am having a point $P(x,y,z)$ in $3D$ with respect to global coordinate system. I want to create an another Local Coordinate System by picking three points $N1, N2, N3$ in 3D. Now I want to know the ...
0
votes
1answer
74 views

Commutative applying rotations around three axis

Rotating an object in a 3 dimensional space by euler angles might be intuitive but comes with some problems. First, the order of applied rotations around the different axis matters. Second, there is ...
1
vote
3answers
2k views

Nullify (zero out, cancel) rotation in an arbitrary axis in a Quaternion

Question: How do you nullify (zero out) rotation around an arbitrary axis in a Quaternion? Example: Let's say you have an object with quaternion orientation $A$. You also have a rotation quaternion ...
0
votes
1answer
434 views

3D points rotation to quaternions

For the simplicity, we'll consider two 3D points, that moves one relatively to other, in time. Let's say: ...
4
votes
1answer
334 views

Uniform distributions on the space of rotations in 3D

I believe on moral grounds that the following three definitions are equivalent, and determine "the" uniform distribution on rotations in three dimensions. The Haar measure on $SO(3)$. The uniform ...
0
votes
1answer
262 views

how to get rotation component of quaternion form using 3d coordinates

I have a series of 3d coordinates distributed in a 3d space according to a root point. I can determine the x, y , z component using reducing the vectors. but I am not clear how to get rotation ...
1
vote
0answers
204 views

Quaternions in olympiad 3d geometry

It's known that we can use complex numbers to solve some 2d problems easier than synthetic methods. But, what do you think about using complex numbers in 3d geometry? I've found extend of complex ...
1
vote
0answers
348 views

How to convert Yaw, Pitch, Roll and Acceleration value to cartesian system?

I am having readings of Yaw, pitch, Roll, Rotation matrix, Quaternion and Acceleration. These reading are taken with frequency of 20 (per second). They are collected from the mobile device which is ...
5
votes
1answer
352 views

Is a 3D Mandelbrot-esque fractal analogue possible?

I understand that (unlike complex numbers) there's no consistent 3 dimensional number system (even 4D loses some nice properties). Regardless, I'm wondering if there might be a 'trick' to create a 3D ...
1
vote
4answers
1k views

Quaternions and spatial translations

From my understanding, in spatial applications (3D rendering, games and similar applications) quaternions can only be used to describe rotations/orientations and not translations (like a ...
1
vote
1answer
140 views

Decomposing a quarternion into unit axes rotations

I'm using unit quaternions to represent rotations. Given rotation angles X, Y and Z, I can construct 3 quaternions that rotate around each unit axis. Qx = ( sin(X/2), cos(X/2), 0, 0 ) Qy = ( ...
5
votes
1answer
1k views

Averaging quaternions

Given multiple quaternions representing orientations, and I want to average them. Each one has a different weight, and they all sum up to one. How can I get the average of them? Simple multiplication ...
2
votes
1answer
416 views

quaternion representation of the rotation of a sphere into plane displacement

I do have a sphere of known radius which does have a coordinate frame rigidly attached to it. Let's call the coordinate frame attached to the sphere XYZs. The sphere can be rotated and displaced ...