SMC_Matrix3_FromRollPitchYaw_deg (FUN)

 

FUNCTION SMC_Matrix3_FromRollPitchYaw_deg : BOOL

Computes the rotation matrix from Roll, pitch and yaw as mR = Rz(yaw) * Ry(pitch) * Rx(roll). Where -pi < roll, yaw <= pi, -pi/2 <= pitch <= pi/2.

InOut:

Scope

Name

Type

Comment

Return

SMC_Matrix3_FromRollPitchYaw_deg

BOOL

Inout

mR

SMC_Matrix3

The resulting rotation matrix

Input

dRoll

LREAL

Rotation around Z-axis in degree

dPitch

LREAL

Rotation around Y'-axis in degree

dYaw

LREAL

Rotation around X''-axis in degree