Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4023698
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:37:50+00:00 2026-05-20T10:37:50+00:00

This is a thing that puzzles me. I know that when you use Euler

  • 0

This is a thing that puzzles me. I know that when you use Euler angles and apply rotations to objects you have to stick to one axis sequence, for example, XYZ, in order to avoid gimbal lock. My question is the reverse.

Imagine I have quaternions that I want to convert to Euler angles. So, I take all those quaternions and convert to a sequence of rotations to be applied on 3 axis in my object.

These are the questions:

  • if I follow conversions like the one shown in this Wikipedia page will I obtain angles that go from -PI to PI in all 3 axis?
  • now I have the angles, how do I know which order I should apply to the object?
  • do this formulas of Wikipedia imply that I must use a particular axis transformation sequence as XYZ or something?
  • is there a different formula for different axis sequences?

what I am looking for are the formulas to convert to the aeronautics notation sequence (see picture)

My math is a little bit rusty, so please don’t make your answer too mathematically exoteric.

thanks in advance.

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T10:37:50+00:00Added an answer on May 20, 2026 at 10:37 am

    I know that when you use Euler angles
    and apply rotations to objects you
    have to stick to one axis sequence,
    for example, XYZ, in order to avoid
    gimbal lock.

    That’s not entirely right. Not only do you have to stick with a particular axis sequence, you also have to stick with a particular reference frame for the rotations. You would typically hear of body-fixed and global-fixed rotations (the difference between the two is mainly about the order in which the elementary rotations get multiplied) BTW, you will get that same problem when using quaternions. Euler Angles are a family of rotation representations there are basically 12 unique sequences of elementary rotations that you can do to achieve the final rotation matrix. Plus the two possible reference frames, that gives you 24 possible representations that are all referred to as “Euler Angles” (although 12 are redundant). The most usual versions that you find are “3-2-1 body-fixed” and “1-2-3 global” (this are the same), “1-2-3 body-fixed” (inverse sequence), “3-1-3 body-fixed” (very much used in robotics), and finally the Tait-Bryan (“1-(minus)2-3 global-fixed” or “roll-pitch-yaw”). You have to stick to one convention.

    Wikipedia is not to be trusted in this matter (try mathworld instead, or a real text-book). On the page you linked to, the formula corresponds to “1-2-3 body-fixed” (at least that is what is said there).

    Finally, the “gimbal lock” can never be avoided, they are inherent to any Euler Angles convention, they are unavoidable. If you get a math text-book, you can read on why that is.

    if I follow conversions like the one
    shown in this Wikipedia page will I
    obtain angles that go from -2PI to 2PI
    in all 3 axis?

    No, you will get two of the angles in a range from -Pi to Pi, and one angle from -Pi/2 to Pi/2 (again, that will be the case for all conventions). For the wiki formula, you will get Phi in [-Pi,Pi], Theta in [-Pi/2,Pi/2], and Psi in [-Pi,Pi].

    now I have the angles, how do I know
    which order I should apply to the
    object?

    For “1-2-3 body-fixed”, it is x first, then y, then z. Since it is body-fixed, the order of the rotations matrices is indeed Rx Ry Rz. That resulting matrix will be can be used to pre-multiply with a vector whose components are expressed in the coordinate frame of the rotated object, and transform to components expressed in the “global” coordinate frame.

    is there a different formula for
    different axis sequences?

    Yes, of course. Every convention has a different formula. This is why, in certain applications, people prefer different conventions because they can sort-of avoid getting near the singular points which correspond to mathematical singularities in the conversion equations. Conventions have different singularities, and sometimes that can be exploited (and avoided) if there is a particular geometry to your system.

    My math is a little bit rusty, so
    please don’t make your answer too
    mathematically exoteric.

    Hopefully I didn’t… but 3D rotations aren’t the easiest topic for sure. They get very confusing at times, and you should do it carefully. In my experience, you are always better off sticking with quaternions all the way (with exception of occasional use of rotation matrices when needed).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this algorithm that I found here, just one thing puzzles me about
Ok, this is a dumb thing that I'm sure I've done dozens of times
Here's a coding problem for those that like this kind of thing. Let's see
This is one of those things, that maybe so simple I'll never find it
Google results on this one are a bit thin, but suggest that it is
I don't think that this is specific to a language or framework, but I
This is the URL. http://www.tumblr.com/ I think that its based on prototype, and is
This is something that I think would be very useful. Basically, I'd like there
I think the answer to this question is so obivous that noone has bothered
OK, so I couldn't really think of an apropos title that summarizes this. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.