Abstract
Current methods of the conversion between a rotation quaternion and Euler angles are either a complicated set of multiple sequence-specific implementations, or a complicated method relying on multiple matrix multiplications. In this paper a general formula is presented for extracting the Euler angles in any desired sequence from a unit quaternion. This is a direct method, in that no intermediate conversion step is required (no quaternion-to-rotation matrix conversion, for example) and it is general because it works with all 12 possible sequences of rotations. A closed formula was first developed for extracting angles in any of the 12 possible sequences, both “Proper Euler angles” and “Tait-Bryan angles”. The resulting algorithm was compared with a popular implementation of the matrix-to-Euler angle algorithm, which involves a quaternion-to-matrix conversion in the first computational step. Lastly, a single-page pseudo-code implementation of this algorithm is presented, illustrating its conciseness and straightforward implementation. With an execution speed 30 times faster than the classical method, our algorithm can be of great interest in every aspect.
Funder
Agence Nationale de la Recherche
Publisher
Public Library of Science (PLoS)
Reference9 articles.
1. Survey of attitude representations;M Shuster;Journal of the Astronautical Sciences,1993
2. On Closed-Form Formulas for the 3-D Nearest Rotation Matrix Problem;S Sarabandi;IEEE Transactions on Robotics,2020
3. On the Parametrization of the Three-Dimensional Rotation Group;J Stuelpnagel;Siam Review,1964
4. Euler Angles, Quaternions, and Transformation Matrices;D Henderson;NASA JSC Report,1977
5. General Formula for Extracting the Euler Angles;M Shuster;Journal of Guidance Control and Dynamics,2006
Cited by
13 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献