Denavit-Hartenberg (DH) Parameters Explained: theta, d, a, alpha with Python & URDF

DH parameters guide for robot arms: theta, d, a, alpha definitions, frame assignment rules, the 4x4 homogeneous transform, Standard vs Modified DH, Python examples with roboticstoolbox, URDF mapping, and common mistakes.

In this article

  • Worked Example: 2-Link Planar Arm
  • Prismatic Joint Example
  • DH vs Product of Exponentials vs URDF
  • How to Build a DH Table Without Getting Lost
  • DH Parameters in Interviews
  • Common Mistakes with DH Parameters
  • Debugging Checklist for Wrong DH Results
  • DH Parameters and URDF
  • DH Parameter Tables for Popular Robots