Quaternion From Yaw Pitch Roll

Creates a new quaternion from the given yaw, pitch, and roll.

Quaternion Calculator

The function on this page generates a quaternion from the values of the three angles for yaw, pitch and roll.

To perform the calculation, enter the angles in degrees or radians for yaw, pitch, and roll. Then click the 'Calculate' button.

Empty fields count as 0.

Quaternion Calculator

 Input
Axis Angles Quaternion
Y Yaw = X
X Pitch Y
Z Roll Z
Rotation W
Angle unit of measure
Decimal places

Description


The quaternion represents a vector used to encode three-dimensional physical rotations. It is used to efficiently rotate an object about the (x,y,z) vector by angle theta, where:

w = cos(theta/2)

Array

W - The rotation component of the quaternion.
X - The X value of the vector component of the quaternion.
Y - The Y value of the vector component of the quaternion.
Z - The Z value of the vector component of the quaternion.

Is this page helpful?            
Thank you for your feedback!

Sorry about that

How can we improve it?