Using the same notation as the following equation where c{q1} means \cos{q1} and c{q1q2}…
- User
Using the same notation as the following equation where c_{q_1} means \cos{q1} and c_{q_1q_2} means \cos{q1+q2}. \begin{array}{cccc} {}5^0r{11}& {}5^0r{12} & {}5^0r{13} &{}5^0p{x} \ {}5^0r{21}& {}5^0r{22} & {}5^0r{23} &{}5^0p{y} \ {}5^0r{31}& {}5^0r{32} & {}5^0r{33} &{}5^0p{z} \ 0 & 0 & 0 & 1 \ \end{array} \right)\ {}5^0r{11} &= - s_{q_1} s_{q_4} c_{q_5} - c_{q_1} \left( c_{q_4} c_{q_5} s_{q_2 q_3} + s_{q_5} c_{q_2 q_3} \right) \ {}5^0r{12} &= c_{q_1} s_{q_4} s_{q_2 q_3} - s_{q_1} c_{q_4} \ {}5^0r{13} &= c_{q_1} c_{q_5} c_{q_2 q_3} - s_{q_5} \left( c_{q_1} c_{q_4} s_{q_2 q_3} + s_{q_1} s_{q_4} \right) \ {}5^0p{x} &= c_{q_1} \left( a_1 + a_2 s_{q_2} + a_3 s_{q_2 q_3} + d_4 c_{q_2 q_3} \right) \ {}5^0r{21} &= - s_{q_1} c_{q_4} c_{q_5} s_{q_2 q_3} - s_{q_1} s_{q_5} c_{q_2 q_3} + c_{q_1} s_{q_4} c_{q_5} \ {}5^0r{22} &= s_{q_1} s_{q_4} s_{q_2 q_3} + c_{q_1} c_{q_4} \ {}5^0r{23} &= s_{q_5} \left( c_{q_1} s_{q_4} - s_{q_1} c_{q_4} s_{q_2 q_3} \right) + s_{q_1} c_{q_5} c_{q_2 q_3} \ {}5^0p{y} &= s_{q_1} \left( a_1 + a_2 s_{q_2} + a_3 s_{q_2 q_3} + d_4 c_{q_2 q_3} \right) \ {}5^0r{31} &= s_{q_5} s_{q_2 q_3} - c_{q_4} c_{q_5} c_{q_2 q_3} \ {}5^0r{32} &= s_{q_4} c_{q_2 q_3} \ {}5^0r{33} &= - c_{q_4} s_{q_5} c_{q_2 q_3} - c_{q_5} s_{q_2 q_3} \ {}5^0p{z} &= a_2 c_{q_2} + a_3 c_{q_2 q_3} + d_1 - d_4 s_{q_2 q_3}
Rewrite also the following matrix: \left( \begin{array}{cccc} \cos (\text{q1}) (\cos (\text{q4}) \cos (\text{q5}) \sin (\text{q2}+\text{q3})+\sin (\text{q5}) \cos (\text{q2}+\text{q3}))+\sin (\text{q1}) \sin (\text{q4}) \cos (\text{q5}) & \sin (\text{q1}) \cos (\text{q4})-\cos (\text{q1}) \sin (\text{q4}) \sin (\text{q2}+\text{q3}) & \cos (\text{q1}) \cos (\text{q5}) \cos (\text{q2}+\text{q3})-\sin (\text{q5}) (\cos (\text{q1}) \cos (\text{q4}) \sin (\text{q2}+\text{q3})+\sin (\text{q1}) \sin (\text{q4})) & \cos (\text{q1}) (\text{a1}+\text{a2} \sin (\text{q2})+\text{a3} \sin (\text{q2}+\text{q3})+\text{d4} \cos (\text{q2}+\text{q3})) \ \sin (\text{q1}) \cos (\text{q4}) \cos (\text{q5}) \sin (\text{q2}+\text{q3})+\sin (\text{q1}) \sin (\text{q5}) \cos (\text{q2}+\text{q3})-\cos (\text{q1}) \sin (\text{q4}) \cos (\text{q5}) & -\sin (\text{q1}) \sin (\text{q4}) \sin (\text{q2}+\text{q3})-\cos (\text{q1}) \cos (\text{q4}) & \sin (\text{q5}) (\cos (\text{q1}) \sin (\text{q4})-\sin (\text{q1}) \cos (\text{q4}) \sin (\text{q2}+\text{q3}))+\sin (\text{q1}) \cos (\text{q5}) \cos (\text{q2}+\text{q3}) & \sin (\text{q1}) (\text{a1}+\text{a2} \sin (\text{q2})+\text{a3} \sin (\text{q2}+\text{q3})+\text{d4} \cos (\text{q2}+\text{q3})) \ \cos (\text{q4}) \cos (\text{q5}) \cos (\text{q2}+\text{q3})-\sin (\text{q5}) \sin (\text{q2}+\text{q3}) & \sin (\text{q4}) (-\cos (\text{q2}+\text{q3})) & -\cos (\text{q4}) \sin (\text{q5}) \cos (\text{q2}+\text{q3})-\cos (\text{q5}) \sin (\text{q2}+\text{q3}) & \text{a2} \cos (\text{q2})+\text{a3} \cos (\text{q2}+\text{q3})+\text{d1}-\text{d4} \sin (\text{q2}+\text{q3}) \ 0 & 0 & 0 & 1 \ \end{array} \right)
- Assistant
Using the same notation where ( c_{q_i} = \cos(q_i) ), ( s_{q_i} = \sin(q_i) ), and ( c_{q_{ij}} = \cos(q_i + q_j) ), ( s_{q_{ij}} = \sin(q_i + q_j) ), the matrix can be rewritten as:
[ \left( \begin{array}{cccc} \begin{aligned} & c_{q_1} \left( c_{q_4} c_{q_5} s_{q_{2 q_3}} + s_{q_5} c_{q_{2 q_3}} \right) \ &\quad + s_{q_1} s_{q_4} c_{q_5} \end{aligned} & s_{q_1} c_{q_4} - c_{q_1} s_{q_4} s_{q_{2 q_3}} & \begin{aligned} & c_{q_1} c_{q_5} c_{q_{2 q_3}} \ &\quad - s_{q_5} \left( c_{q_1} c_{q_4} s_{q_{2 q_3}} + s_{q_1} s_{q_4} \right) \end{aligned} & \begin{aligned} & c_{q_1} \left( a_1 + a_2 s_{q_2} + a_3 s_{q_{2 q_3}} \right. \ &\quad \left. +, d_4 c_{q_{2 q_3}} \right) \end{aligned} \[3ex] \begin{aligned} & s_{q_1} \left( c_{q_4} c_{q_5} s_{q_{2 q_3}} + s_{q_5} c_{q_{2 q_3}} \right) \ &\quad - c_{q_1} s_{q_4} c_{q_5} \end{aligned} &
- s_{q_1} s_{q_4} s_{q_{2 q_3}} - c_{q_1} c_{q_4} & \begin{aligned} & s_{q_5} \left( c_{q_1} s_{q_4} - s_{q_1} c_{q_4} s_{q_{2 q_3}} \right) \ &\quad + s_{q_1} c_{q_5} c_{q_{2 q_3}} \end{aligned} & \begin{aligned} & s_{q_1} \left( a_1 + a_2 s_{q_2} + a_3 s_{q_{2 q_3}} \right. \ &\quad \left. +, d_4 c_{q_{2 q_3}} \right) \end{aligned} \[3ex] c_{q_4} c_{q_5} c_{q_{2 q_3}} - s_{q_5} s_{q_{2 q_3}} &