A Euler Angles Transform: Rotating a Body in 3D Space

AI Thread Summary
The discussion revolves around understanding how to calculate the equivalent rotation of a body in 3D space with respect to an inertial frame after applying yaw, pitch, and roll transformations in the body frame. The user is attempting to predict the pose of a road vehicle using dead-reckoning based on sensor data, specifically focusing on how to map the updated yaw angle back to the global coordinate system. A suggestion was made to reverse the order of angle rotations to achieve the desired transformation. The user later clarified their problem and found a solution by researching Euler angle rates. This highlights the complexity of transitioning between body and inertial frames in 3D rotational dynamics.
aydos
Messages
19
Reaction score
2
Only recently started to understand Euler angles and rotation matrices, and I am reasonably comfortable with the concepts already posted here. I am pretty sure I am missing something obvious, but I cannot figure out the way to solve this problem:
A body in 3D space with a orientation defined by yaw, pitch, roll angles. I know how to rotate any (X,Y,Z) point between the inertial frame and body frame using the rotation matrices. The problem I have is:
If I rotate the body with respect to the body frame, how do I calculate the equivalent rotation with respect to the inertial frame?
 
Mathematics news on Phys.org
aydos said:
Only recently started to understand Euler angles and rotation matrices, and I am reasonably comfortable with the concepts already posted here. I am pretty sure I am missing something obvious, but I cannot figure out the way to solve this problem:
A body in 3D space with a orientation defined by yaw, pitch, roll angles. I know how to rotate any (X,Y,Z) point between the inertial frame and body frame using the rotation matrices. The problem I have is:
If I rotate the body with respect to the body frame, how do I calculate the equivalent rotation with respect to the inertial frame?
That is not often done. After the yaw, the rotations are not in the same inertial frame.
Here is something you might try to see if it is what you want:
Reverse the order of the angle rotations. The first rotation should be to roll the plane, the second should be to pitch the plane up, and the third should be to yaw the plane over to the correct position.

EDIT: I changed the sign of the angles.
 
Last edited:
Yes, ok. I think this is how to rotate back from body to frame given the original yaw, pitch and roll. I think I was not 100% clear on the problem. Let's say in the body frame, I have a yaw angle with respect to the body frame. What is the yaw, pitch and roll angles with respect to the inertial frame?

Perhaps I am not using the tools correctly, so I will explain the larger application I need this for. I have a road vehicle whose pose is described by X, Y, Z, Yaw, Pitch, Roll in a global coordinate system at T0. I need to predict the pose of the vehicle at T1 in this global coordinate system by using dead-reckoning based on given sensor information: wheel speed and steering angle. The way I set about solving the problem was to use a simple 2D kinematic model based on ackerman steering geometry. This model allows me to predict a new pose at T1 with X,' Y', Yaw' in a 2D plane in the body coordinate system. It seem very straightforward to me to update X, Y and Z by rotating back. However, I do not know how to map the Yaw' back to the global coordinate system. Am I going into a dead end here? Is there perhaps a different way of doing all of this?
 
Last edited:
Sorry, I changed the sign of the angles as you were responding to my original version of post #2. I don't know if that makes a difference.
 
Hi FactChecker, you were on to it. I found the solution by searching for "euler angle rates". Section 1.3 of this link.
 
  • Like
Likes FactChecker
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Back
Top