Function ouster::sdk::core::euler_to_rotation_matrix

Function Documentation

Matrix3dR ouster::sdk::core::euler_to_rotation_matrix(double roll, double pitch, double yaw)

Convert Euler angles (roll, pitch, yaw) to a 3D rotation matrix.

Parameters: roll : Rotation about the x-axis (rad) pitch : Rotation about the y-axis (rad) yaw : Rotation about the z-axis (rad)

Returns: R : 3x3 rotation matrix