Conversion between quaternions and Euler angles: Difference between revisions

Content deleted Content added
Source code: re-organized the ToQuaternion function to follow normal conventions. The original function parameters was ordered Z-Y-X. I changed it to be ordered to X-Y-Z.
#suggestededit-add 1.0
Tags: Reverted Mobile edit Mobile app edit Android app edit
Line 1:
{{Short description|Mathematical strategy}}
[[Rotation formalisms in three dimensions|Spatial rotations in three dimensions]] can be [[Coordinate system|parametrized]] using both [[Euler angles]] and [[Quaternions and spatial rotation|unit quaternions]]. This article explains how to convert between the two representations. Actually this simple use of "quaternions" was first presented by [[Leonhard Euler|Euler]] some seventy years earlier than [[William Rowan Hamilton|Hamilton]] to solve the problem of [[magic square]]s. For this reason the dynamics community commonly refers to quaternions in this application as "Euler parameters".