RobotKinematicsLab

SCARA calibration with two frames

A two-frame chain aligns a tabletop fiducial to the base of a planar handler.

Results ↓

Parameters

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

Live results

Pass

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

Tool X
0.562917 m
Tool Y
0.035 m
Tool Z
0.12 m
Pitch
0 °
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
10.8660250.500.562917 m
2-0.50.86602500.035 m
30010.12 m
40001
ZYX orientation
QuantityValue
Roll about X0 °
Pitch about Y0 °
Yaw about Z-30 °
|cos(pitch)|1

Formula trace

  1. Joint transform

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

    a₁ = 0.36 md₁ = 0.12 mθ₁ = 30 °

    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.562917 my = 0.035 mz = 0.12 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| = 1roll = 0 °pitch = 0 °yaw = -30 °

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