Figure 3. Definitions of the joint angles.