0
votes
0answers
14 views

3D rotation by a complex angle around a complex axis.

Context In electromagnetism, it is common to meet complex angles. Snell's law can produce them (with metals and/or total internal reflection), and when we plug them into Fresnel's equations, the ...
0
votes
1answer
22 views

Quaternions $\Leftrightarrow $ Rotations -Conceptual question

I have an angular velocity vector analogue defined as(called Darbaoux vector some times in curve) $ \omega(s)=\frac{\mathrm{d}\theta(s) }{\mathrm{d} s}=\delta\theta(s)_x \vec{i}+\delta\theta(s)_y ...
0
votes
0answers
34 views

Rotating Frames on Curve

We are describing a curve with a moving frame. Figure 1 says about the definition of curve Figure 1 Specifications and Proprieties of the curve We can make a rotation 3D Matrix $R(s)_{3 ...
0
votes
0answers
13 views

Rotation about an axis by matrix multiplication

Suppose I have three axis of rotation vectors $\vec{v_1},\vec{v_2},\vec{v_3}$ and angle of rotation as vectors $\theta_1,\theta_2,\theta_3$. Take a vector $P$ then apply rotation around $\vec{v_1}$ ...
0
votes
0answers
21 views

Quaternion - An equivalent form

Given Data in the problem I have rotation matrices represented by a quaternion $q(t)$ and we are aware of axis of rotation at each point as $\psi(t)$ and angle of rotation $\theta(t)$. I have a ...
0
votes
0answers
15 views

Quaternion Integration - And conversion to 3D matrix

I have a rotation matrix let us say $R(t)$ and its quaternion $q(t)$. We know already how to convert a quaternion to rotation matrix. Now if I want find $\int R(t) \ dt \tag1 $ can we do that in ...
1
vote
0answers
17 views

Quaternion , DCM , Euler Angles and Rotation Matrix Differences and when to use?

Quaternion , DCM[Direction Cosine Matrix] , Euler Angles and Rotation Matrix Differences and when to use ? All of the above components can represent rotation , so when to use each of them , best ...
1
vote
1answer
63 views

Reaching a point B in Cartesian coordinate via Euler angles knows its initial point A Euler angles and Cartesian coordinates

I have a point A:- Known it's Cartesian coordinates (X,Y,Z) and its Euler angle Aka body rotation (R,P,Y) respectively Roll (rotation around X axis) , Pitch (rotaion around Y axis) and Yaw (rotation ...
0
votes
0answers
14 views

Convertion to Quaternion

Specifications and Data We have a 3D rotation function $R(t)_{3\times 3}$ and function ${K(t)}_{3\times 3}$ a matrix function that gives skew symmetric matrix as out puts. It means it holds the ...
0
votes
0answers
33 views

Quaternions- Rotation Matrix Derivative

Given Data and Specifications in Question If $q(t)$ represnts the position vector as result of rotation with an angular veclocity $\omega(t)$ in quaternion , then you can make the relationship ...
0
votes
1answer
27 views

Multiplication of Rotation Matrices in quaternion

Given Data and specifications NB : * means multiplication Suppose we need to rotate a point $P = \begin{pmatrix} x\\ y\\ z \end{pmatrix}$ with rotation matrix ${Q}_{3\times3}$ then what we do is ...
0
votes
0answers
25 views

Quaternion Calculus

I was reading a note on Quaternion(Link) and I am happened to read a section regarding a solution of quaternion differential equation. I am putting that segment as picture format here for more ...
1
vote
1answer
52 views

Rotation Matrix to Quaternion(proper Orientation)

Given Data in the figure In this figure we have a unit vectors $ x,y,z$ as axis. Axis of rotation is $b$ and angle of rotation is $\phi$. $\phi$ is unknown and $b$ is given as $b= \frac{1}{2 ...
0
votes
0answers
32 views

Quaternion Solution of the Rotation Equation

I am trying to make a connection between a 3-d vector ODE with a quaternion ODE and a possible solution in quaternion. In the following, a vector $v$ in $R^3$ is interpreted as the vector part of the ...
1
vote
0answers
30 views

Cross product uniqueness

I have following relationship between vectors $A_1'(t)=\psi(t)\times A_1(t) \tag1$ $A_2'(t)=\psi(t)\times A_2(t) \tag2$ $A_3'(t)=\psi(t)\times A_3(t) \tag3$ Given Data " ' " means derivative ...
0
votes
4answers
78 views

Rotating Frame and Angular Velocity

We have an equation $ \frac{dr}{dt}=\Omega \times \bf r \tag 1$ SPECIFICATIONS $\times$ means cross product,$\Omega$ constant angular velocity,${\bf r}$ is the postion vector of an object Given ...
0
votes
2answers
49 views

Inverse of a Rotation matrix

If $R $ is a rotation matrix (determinant 1,orthonormal) can we say that $R^{-1}$ is also a rotation matrix? If yes how do we prove it?
7
votes
1answer
163 views

Quaternion integration

If the angular velocity is changing continuously, the following holds true $ q(t)=q(0)\exp\left({\int_{0}^{t}\frac{q_\omega(\tau)}{2}\ d\tau}\right) \tag 1$ Specifications and Data $q(t),q(0)$ ...
3
votes
1answer
53 views

Finding quaternion that transforms to particular basis

I want to find a quaternion $x \in{\mathbb{H}} $ that transforms (rotates) the $ i,j,k $ basis to a particular basis. In equations: $$ x i x^{-1} = a_1 $$ $$ x j x^{-1} = a_2 $$ $$ x k x^{-1} = a_3 ...
1
vote
0answers
7 views

Find path between two attitudes subject to body rate constraints

Here's my problem. I have an initial orientation and angular velocity of a body and a final orientation and velocity occurring at a specified time in the future. I have control over how input ...
1
vote
2answers
56 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 ...
2
votes
2answers
88 views

Solving for a Rotation Matrix Equation $R_1 R_\mathrm{x} R_2 = R_\mathrm{x}$

I would like to solve for an equation $R_1 R_\mathrm{x} R_2 = R_\mathrm{x}$ where $R_1$, $R_2$, and $R_\mathrm{x}$ are 3x3 rotation matrices, $R_1$ and $R_2$ are known, and $R_\mathrm{x}$ is unknown. ...
0
votes
2answers
30 views

Rotation between two vectors as a function of time (one parameter rational motion design)

Given a time varying vector: $\mathbf{w}(t) = \mathbf{u} + t\mathbf{v}$ I would like to find a rotation matrix $\mathbf{R}(t)$ that rotates the positive x-axis $[1, 0, 0]^T$ onto the vector ...
3
votes
2answers
178 views

What is a good geometric interpretation of quaternion multiplication?

I understand that the formula for quaternion multiplication of $q_1=(s_1,\vec{v_1})$ by $q_2=(s_2,\vec{v_2})$ $q_1q_2=(s_1s_2-\vec{v_1}\cdot\vec{v_2}, \vec{v_1} \times\vec{v_2} + \vec{v_1}s_2 + ...
0
votes
0answers
56 views

How to obtain relative rotation?

I have two rotations, each of which can be described as a roll, pitch, and yaw (in radians): $$ r_1 = (3.14159, 1.57080, 1.6) $$ $$ r_2 = (3.14159, 1.57080, 1.4) $$ I am interested in the relative ...
1
vote
0answers
174 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
80 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 ...
1
vote
2answers
2k views

Getting Euler (Tait-Bryan) Angles from Quaternion representation

Apologies if this has already been answered, but I haven't been able to get a clear answer from looking on Stack Exchange so-far. I'm trying to solve a camera stabilization problem. I have a 2-axis ...
0
votes
1answer
392 views

Quaternion Decomposition

I'm having trouble decomposing a unit quaternion into euler angles (or roll, pitch and yaw). The overall goal is to tell how a phone is rotated with respect to the world. I'm given a unit quaternion ...
1
vote
1answer
122 views

Unit quaternions as rotations

How would one represent the map $f$ such that $f(1) = i, f(i) = -1$ and keeping $j$ and $k$ fixed as a quaternion representation of rotations?
0
votes
0answers
49 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 ...
0
votes
1answer
73 views

smooth orientation change with quaternions

My camera orientation is looking in the $v_1$ direction. Something happens on direction $v_2$ and I want the camera to move smoothly to look at that direction. So, to find the quaternion to go from ...
0
votes
1answer
78 views

Relative rotations using quaternions [duplicate]

I have a sensor at some arbitrary orientation (non-zero roll, yaw, pitch) given by quaternion $q_{0}$. I then pitch the sensor to orientation $q_{1}$. When I compute the relative rotation between the ...
1
vote
1answer
37 views

Quaternion techniques for a geometric description of the composition of two rotations

Let $q \in S^3$. Therefore $q$ can be represented as $q=\cos(\alpha/2) + \sin(\alpha/2)u$ for some $\alpha \in \mathbb{R}$ and some $u \in S^3$ with it's real part zero. Recall that the quaternions ...
1
vote
1answer
195 views

Magnitude of rotation between two quaternions

I have a quaternion for an object's starting rotation, and a quaternion for an object's ending rotation, and I am SLERPing the shortest rotation between the two. How can I figure out the magnitude of ...
0
votes
2answers
168 views

Difference between quaternions and rotation matrices

This is a really simple question, I guess. Do quaternions cover the same set of rotations as rotation matrices? I assume the answer is yes, they both can represent SO(3), but I'm unsure about the ...
2
votes
1answer
315 views

Rotation by quaternion conjugation and quaternion matrix

A rotation of vector $v$ can be done by matrix multiplication $Q^{*}Qv$ where $Q=\begin{pmatrix}w & -z & y & x \\ z & w & -x & y \\ -y &x &w& z\\ -x& -y ...
0
votes
1answer
18 views

Reference for the polar parameterization of quaternions

I would like to find the original reference in which the polar parameterization of quaternions was given (i.e. the relationship between the components of a unit quaternion and the polar angles of an ...
2
votes
2answers
2k views

How to rotate one vector about another?

Breif Having given 2 non-parallel vectors: a and b, is there any way by which I may rotate a about b such that b acts as the axis about which a is rotating. Question Given: vector a and b To find: ...
1
vote
1answer
37 views

Set of rotations necessary to connect two points in R³ using a thin cylinder

I have been scratching my head for days trying to answer this question. Suppose i have 2 points on three-dimensional space, say, $A(x_1, y_1, z_1)$ and $B(x_2, y_2, z_2)$, and they are separated by ...
4
votes
1answer
139 views

Relationship between two maps from $SU(2)$ to $SO(3)$

I have two maps from $SU(2) \to SO(3)$. For the first map, think of $SU(2)$ as the group of unit quaternions. Under this identification, we can give a map $f: SU(2) \to SO(3)$ given by $SU(2)$ ...
1
vote
1answer
247 views

Small angular displacements with a quaternion representation

I have the orientation of a 3D spatial object represented by a unit quaternion: $$ q = a_1 + a_2 i + a_3 j + a_4 k $$ $$ \|q\| = (a_1^2 + a_2^2 + a_3^2 + a_4^2)^{1/2} = 1 $$ I'd like to perturb this ...
2
votes
0answers
58 views

The angle of an average rotation is $126.5^\circ$?

In the paper "Applications of Quaternions to Computation with Rotations" by Eugene Salamin, 1979 (click here), they get 126.5 degrees as the mean value of the rotation angle of a random rotation (by ...
0
votes
0answers
93 views

Update rotation matrix

Imagine you have a two noded beam in space, defined by extreme nodes 1 and 2. Image is owned by Jean-Marc Battini. To ...
3
votes
1answer
339 views

Quaternions vs Axis angle

Whats the use of representing rotation with quaternions compared to normal axis angle representation? I've been trying to learn quaternions and they make enough sense but as far as I can tell ...
1
vote
0answers
83 views

Quaternion barycentric interpolation

Let's say that i have a set of quaternions, each representing a 3-angle orientation. And with each quaternion is associated a real value (let's say a speed value for explanation's sake). Now with an ...
2
votes
1answer
130 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 ...
0
votes
1answer
84 views

Quaternion Matrix Multiply

My question is about applying rules of quaternions to quaternion matrices. I know that for some rotation quaternion q = [w, x, y, z], I can find the rotation of ...
1
vote
1answer
212 views

Quaternion exponential map, rotations and interpolation

A code snippet I need to optimize is performing something peculiar. It seems that it's somehow related to transforming from a frame of reference to another. This is what it does, in mathematical ...