Inverse kinematic solution: θ4, θ5, θ6: The home stretch
The following matrix is now known completely:
What can we do next?
Here's what we got on the other side of the equation
When s5 ≠ 0, elements (1, 3) and (3, 3) offer solution to θ4:
θ4 = atan2(c1 r23-r13 s1, -c1 c23 r13- c23 r23 s1+r33 s23), sin(θ5) ≠0
Next, consider T46:
The following matrix is completely known:
What can we do next?
Using elements (1, 3) and (3, 3), solve for θ5:
c5 =-c23 r33-c1 r13 s23-r23 s1 s23
s5 =-c1 c23 c4 r13-s1 s4 r13-c23 c4 r23 s1+c4 r33 s23+c1 r23 s4
θ5 = atan2(s5, c5)
Next, consider T56:
The following matrix is completely known:
What can we do next?
Using elements (1, 1) and (3, 1), solve for θ6:
c6 = c5 (c4 (c1 c23 r11+c23 r21 s1-r31 s23)-(c1 r21-r11 s1) s4)+(-c23 r31-c1 r11 s23-r21 s1 s23) s5
s6 = -c1 c4 r21-c23 s1 s4 r21+c4 r11 s1-c1 c23 r11 s4+r31 s23 s4
θ6 = atan2(s6, c6)
Created by Mathematica (September 29, 2003)