Conversion between quaternions and Euler angles: Difference between revisions

Content deleted Content added
The set of equations using "arctan" is wrong and should be removed to avoid confusion with the correct "atan2" implementation. Example of new paper citing the incorrect equations because of Wikipedia: https://www.sciencedirect.com/science/article/pii/S0926580523003400?via%3Dihub
m Minor edit for consistency
Line 166:
};
 
Quaternion ToQuaternion(double roll, double pitch, double yaw) // roll (x), pitch (Yy), yaw (z)
{
// Abbreviations for the various angular functions