RobotKinematicsLab

Standard DH Transform Chain

Multiply up to six standard Denavit–Hartenberg transforms to recover the tool frame, position and ZYX orientation.

Results ↓

Parameters

Chain setup
Joint 1
m
°
m
°
Joint 2
m
°
m
°
Joint 3
m
°
m
°
Joint 4
m
°
m
°
Joint 5
m
°
m
°
Joint 6
m
°
m
°

Live results

Pass

Pose matrix and ZYX angles are available. The Euler representation is away from gimbal lock.

Tool X
0.614996 m
Tool Y
0.185272 m
Tool Z
-0.111491 m
Pitch
-59.0505 °
Isometric frame chain
Isometric frame chainSTANDARD DHBASE → FRAME 6Distance from gimbal lockMINIMUM
  • X axis
  • Y axis
  • Z axis
Base-to-tool pose
RowColumn 1Column 2Column 3Column 4
10.463690.4804330.744430.614996 m
20.222437-0.8764310.4270710.185272 m
30.857621-0.0324393-0.513258-0.111491 m
40001
ZYX orientation
QuantityValue
Roll about X-176.384 °
Pitch about Y-59.0505 °
Yaw about Z25.6276 °
|cos(pitch)|0.514282

Formula trace

  1. Joint transform

    Aᵢ = Rz(θᵢ) Tz(dᵢ) Tx(aᵢ) Rx(αᵢ)

    a₁ = 0 md₁ = 0.28 mθ₁ = 15 °

    a and d are lengths. R is dimensionless. This is standard DH order.

  2. Cumulative pose

    T₀ⁿ = A₁ A₂ ··· Aₙ = [R | p; 0 0 0 | 1]

    x = 0.614996 my = 0.185272 mz = -0.111491 m

    Multiply in base-to-tool order. The fourth column carries length for its first three rows.

  3. ZYX angles

    pitch = atan2(−R₃₁, hypot(R₁₁,R₂₁)); roll = atan2(R₃₂,R₃₃); yaw = atan2(R₂₁,R₁₁)

    |cos pitch| = 0.514282roll = -176.384 °pitch = -59.0505 °yaw = 25.6276 °

    Gimbal warning at |cos pitch| ≤ 10⁻⁶. Near numeric lock, roll = 0 and yaw = atan2(−R₁₂,R₂₂).