Translation-Rotation Vector to Rotation Matrix

Description

Converts a 6-element "Translation-Rotation Vector" into a 4x4 "Rotation-Translation Matrix".

Overview

Builds a 4x4 transformation matrix from a 6-element pose vector.

Scenarios

Primarily used for data format alignment.

Inputs and Outputs

Inputs

Translation-rotation vector: A 6-element pose array in the format [tx, ty, tz, rx, ry, rz]: tx, ty, and tz represent the translations along the X, Y, and Z axes of the coordinate system, respectively. Their units must match the input point-cloud coordinates; ATOM point-cloud workflows typically use millimeters (mm). rx, ry, and rz are the components of a Rodrigues rotation vector, in radians (rad), not Euler angles. The magnitude of the rotation vector represents the rotation angle, and its direction represents the rotation axis. The default value is [0, 0, 0, 0, 0, 0].

Outputs

Rotation-translation matrix: Rotation-translation matrix