0
votes
1answer
73 views

Quaternion isn't normal!

I use the following scheme: Quaternion: [ w, x, y, z ] Then I use Euler Angles and convert it to a quaternion, as following: ...
2
votes
1answer
124 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 ...
1
vote
1answer
69 views

How $v=(-\sin\frac{\alpha}{2}\sin\frac{\beta}{2},\cos\frac{\alpha}{2}\sin\frac{\beta}{2},\sin\frac{\alpha}{2}\cos\frac{\beta}{2})$ is derived from…

In the book Quarternion and Rotation Sequences, I can't seem to work out how the final equation (colored in $\color{red}{red}$) is derived from the original equation (colored in $\color{blue}{blue}$). ...
0
votes
0answers
2k views

Compute Altitude and Azimuth using either Quaternions or Rotation Matrix or Roll, Pitch and Yaw component

I am struck with a mathematical problem. I want to convert the iPhone device's attitude information which is available in one of the following forms: Quaternion Rotation Matrix Roll, Pitch and Yaw ...
5
votes
3answers
3k views

Euler angles and gimbal lock

Can someone show mathematically how gimbal lock happens when doing matrix rotation with Euler angles for yaw, pitch, roll? I'm having a hard time understanding what is going on even after reading ...