Related to Coordinate Frame.

So I will explain on this example. We know the three rotational matrices.

R_x(p):

R_y(r):

R_z(ψ):

If I apply rotation on x axis (pitch), and then on y axis (roll) and at the end on z axis (yaw), the final rotational matrix will be

But why does come first??

It doesn’t, you muppet. Think of it as functions. If you want to apply and then , you would write , right?

So, if I apply rotation on X axis first and then on Y axis, I get . To get accelerations, multiply by gravity vector (assuming gravity points down z-axis initially).

Small exercise: Angular Velocities

  • Considering that Z points is the pure vertical.
  • The earth only rotates East-West (y axis) and vertically (z axis)
  • will be 0 for all cases.
  • takes values for Equator (Earth’s rotation along the y-axis, tangent to surface) and for Arbitrary position
  • takes values for North Pole and arbitrary position
EquatorArbitrary position*North pole
Ο‰_x000
ω_yω_ecos(ω_e)0
Ο‰_z0sin(Ο‰_e)Ο‰_e

Note: if the direction of the true north is unknown, but the z axis is still pointing upwards, we may write

Since it is not known how the cos component is divided between x and y axes, this holds because

Safe to say I don’t really understand what this all is. I will just stick to the first question I asked above.