RobotKinematicsLab

Vertical tool at Euler lock

A vertical probe is deliberately commanded to a ZYX pitch of +90° during frame checkout.

Results ↓

Parameters

Chain setup
Joint 1
m
°
m
°
Joint 2
m
°
m
°

Live results

Fail

ZYX gimbal lock. Roll is fixed at 0° for the displayed equivalent orientation; the pose matrix remains valid.

Tool X
0.04 m
Tool Y
0 m
Tool Z
0.1 m
Pitch
90 °
Isometric frame chain
Isometric frame chainSTANDARD DHBASE → FRAME 2Distance from gimbal lockMINIMUM
  • X axis
  • Y axis
  • Z axis
Base-to-tool pose
RowColumn 1Column 2Column 3Column 4
10010.04 m
20100 m
3-1000.1 m
40001
ZYX orientation
QuantityValue
Roll about X0 °
Pitch about Y90 °
Yaw about Z0 °
|cos(pitch)|0

Formula trace

  1. Joint transform

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

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

    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.04 my = 0 mz = 0.1 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| = 0roll = 0 °pitch = 90 °yaw = 0 °

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