Questions tagged [rotations]

This tag is for questions about rotations: a type of rigid motion in a space.

In 2-dimensional and 3-dimensional Euclidean space, the rotation is a type of distance-preserving linear transformation that has a fixed point and preserves orientation. In terms of the usual inner product $\langle\cdot,\cdot\rangle$ on $\Bbb R^2$ and $\Bbb R^3$, rotations are the transformations $T$ such that $\langle Tx,Ty\rangle=\langle x,y\rangle$ for all $x,y$, and the determinant of $T$ is equal to 1.

Geometrically, the rotation in $\Bbb R^2$, "spins" the plane around a point without flipping the plane or sliding it. In $\Bbb R^3$, a rotation fixes a line (called the axis of rotation) and "spins" the space around this line (without reflecting or sliding).

More generally, given an inner product space $V$ over a field $\Bbb F$, anything in the part of the orthogonal group connected to the identity can be considered a "rotation." This allows rotations to be defined for $\Bbb R^n$ for $n$ greater than 2 and 3, as well as vector spaces over fields other than $\Bbb R$.

As an example, the space $\Bbb R^4$ with a non-Euclidean metric $(1,1,1,-1)$ is Minkowski space which is a model for special relativity. Rotations still play an important role here beyond that of rotations in the spacial coordinates. For example, Lorentz transformations are rotations which move the time coordinate.

Rotations can also be represented in terms of matrices and the tag often goes with this tag, as questions can pertain to rotation matrices.

3238 questions
0
votes
1 answer

What is the the generalization of Euler angles for O(3)?

Is there a generalization of Euler angles that handles the case where inversions are allowed? I'm trying to figure out how to parameterize elements of $O(3)$ for a computer application; if I was only concerned with rotations, I'd use Euler angles,…
Dave
  • 437
0
votes
1 answer

Interpotaliton in degrees

If I have a rotation that goes from 0º to 90º and I want to base the rotation on the touch of my finger, how can I calculate this? My current situation is that if I touch at the end of the object (height equals 150 units) I would like a degree of…
Rui Peres
  • 105
0
votes
2 answers

Rotating a point around the orgin?

Can some explain how to calculate how to rotate point (x,y) n radians around the orgin clockwise or counterclockwise?
0
votes
2 answers

Does this 2D translation and rotation statement true?

If I have a shape, no matter how many time I rotate and translate it with whatever order. I can use a rotation AND THEN a translation to put the shape exactly at the location that I want with the correct orientation. Does it right?
zmarcoz
  • 13
0
votes
1 answer

Cardan angle (zxz, zxzxz) rotation

On the wikipedia page there is a listing of 12 matrices that can be used to represent a yaw-pitch-roll rotation series (YXZ) as a ZXZ rotation, or an XZX rotation, or an XZY rotation.. 1) Should the ZXZ rotation matrix be exactly equal to the YXZ…
bobobobo
  • 9,502
0
votes
0 answers

Rotation Matix: Going from 3D to 2D by using norm

Let me first fix some notation to avoid confusion. Assume I have two frames $A$ and $B$, having basis vector $i_{A}, j_{A}, k_{A}$ and $i_{B}, j_{B}, k_{B}$, respectively, and a rotation matrix $R_{A/B}$ that converts a three dimensional vector…
Mr. Fegur
  • 862
0
votes
0 answers

Learning Rotation SO(3) and translations on signed distance functions

Background Signed distance function (SDF) is a function $f(x): \mathbb{R}^3\mapsto \mathbb{R}$, which describe the signed distance of $x\in \mathbb{R}^3$ to the 3D surfaces $S$. I managed to approximate an SDF function through the implicit neural…
K. Zhu
  • 135
0
votes
1 answer

How to find cos(X) sin(X) in a rotation when X is unknown

I'd like to perform rotation from one vector to the other. I have two formulaes to get sin(X) and cos(X), X being the rotation angle, but I can't see where they come from : denom = a * a + b * b; sin(X) = ( b * ta - a * tb ) / denom; cos(X) = ( a *…
CTZStef
  • 144
0
votes
0 answers

How do I find the "effective" yaw, pitch and roll from a rotated Inertial Measurement Unit?

Consider a right-hand coordinate system, N with basisvectors $\{\hat{x_N},\hat{y_N},\hat{z_N}\}$ where: the x-axis is pointing north the y-axis is pointing east Consider an airplane with a right-hand coordinate system, B with basis vectors…
Andy
  • 845
0
votes
1 answer

Rotation matrices used for turtle geometry are different than regular rotation matrices?

I'm learning L-systems and have been reading the book Algorithmic Beauty of Plants by Aristid Lindenmayer. In the book they discuss the use of rotation matrices for the turtle geometry used to traverse and draw the L-systems in 3-dimensions. Their…
MFerguson
  • 137
0
votes
0 answers

How to caulcate Euler Angles [Roll Φ(Phi), Pitch θ(Theta), Yaw Ψ(Psi)] between two XYZ cartesian coordinates/points (Origin to Target)?

I have two point (Origin and Target) in 3D XYZ cartesian coordinates. How to caulcate Euler Angles rotation [Roll Φ(Phi)/α(alpha), Pitch θ(Theta)/β(Beta), Yaw Ψ(Psi)/γ(Gamma)] between the two points, from Origin to Target?
0
votes
1 answer

Equation of a function after rotation of the plane

I have a function $\mathbb{R}\to\mathbb{R}$, $y=f(x)$. I want to find its equation $y'=g(x')$ when the basis $(x,y)$ is rotated by $a$. $(x',y')= R_a[(x,y)]$, where $R_a$ is the rotation of angle $a$. I assume that f is symétric (f(x)=f(-x)) and…
vv33d
  • 46
0
votes
0 answers

How Do I Calculate The Pitch, Yaw, and Roll of An Object To Face Another Object?

So to start off I'm using the https://en.wikipedia.org/wiki/Cartesian_coordinate_system Okay so, let's say I have two Vector3 objects, each consisting of an x, y, and z. One object is labeled originPosition. The other object is labeled…
0
votes
0 answers

Rotation around an axis from centre of a sphere to a given point

I would like to rotate an array of data around an arbitary axis that passes from the centre of a sphere though a given point on its surface. I have no issue rotation around the x,y,z axes - if we consider a point on a sphere at the spherical…
freja
  • 25
  • 4
0
votes
0 answers

Inverse of Euler parameter rotation matrix formulation [Barfoot 6.6.2

Reading through Barfoot's State Estimation for Robotics and I am curious regarding one of the problems: Show that $C^{-1}=C^{T}$ starting from $C = \cos\theta I > (1-\cos\theta)aa^{T} + \sin\theta a^{\wedge}$ I've worked out that $C^T =…