RobotKinematicsLab

UR CNC tending tool frame

A cobot with a parallel gripper reaches inside a machine door to locate a fixture datum.

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.382768 m
Tool Y
0.236447 m
Tool Z
0.0770048 m
Pitch
-55.0779 °
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.552889-0.2698440.788351-0.382768 m
2-0.148416-0.962874-0.2254930.236447 m
30.8199310.0076688-0.5724110.0770048 m
40001
ZYX orientation
QuantityValue
Roll about X179.232 °
Pitch about Y-55.0779 °
Yaw about Z-15.0261 °
|cos(pitch)|0.572463

Formula trace

  1. Joint transform

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

    a₁ = 0 md₁ = 0.16 mθ₁ = -28 °

    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.382768 my = 0.236447 mz = 0.0770048 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.572463roll = 179.232 °pitch = -55.0779 °yaw = -15.0261 °

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