Forward and inverse kinematics of the AR4 arm, by Chris Annin (Annin Robotics), whose open-source Denavit-Hartenberg models this section builds on.
The AR4 is an open-source arm with six revolute joints. Its configuration is a single vector of joint angles, a point in a six-dimensional configuration space bounded by the mechanical joint limits. Everything below is a function of that vector.
Kinematics & Dynamics
AR4 Robot Arm Kinematics
Forward and inverse kinematics of the AR4 six-axis arm using Denavit-Hartenberg parameters, with a bridge from joint angles to motor steps.
The chapter so far built the machinery in the abstract: the configuration space a robot lives in, the homogeneous coordinates that let a single matrix carry both rotation and translation at once, and the motion representations that describe orientation. This section spends that machinery on a real six-axis arm, the AR4, and works through its forward kinematics (where the hand is, given the joint angles) and inverse kinematics (which joint angles place the hand at a desired pose).

