SMC_Matrix3_FromYawPitchRoll (FUN)

 

FUNCTION SMC_Matrix3_FromYawPitchRoll : BOOL

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

InOut:

Scope

Name

Type

Comment

Return

SMC_Matrix3_FromYawPitchRoll

BOOL

Inout

mR

SMC_Matrix3

The resulting rotation matrix

Input

dRoll_rad

LREAL

Rotation around X-axis in radian

dPitch_rad

LREAL

Rotation around Y'-axis in radian

dYaw_rad

LREAL

Rotation around Z''-axis in radian