I have the following equation I would like to solve (I'm looking for: r1, s2 and s3):
rotz(-r1) * rotx(90 + s2) * rotz(s3) = rotz(-alpha) * rotx(beta) * roty(gamma)
where:
- rotx(), roty() and rotz() are respectively rotation matrices around x, y and z-axis of a given angle in degrees.
- alpha, beta and gamma are known.
I also tried to solve it with quaternions but without success.
Have you any advice or solution to this problem?
Finally I managed it with quaternions by using:
with matlab. (alpha, beta, gamma, r1, s2 and s3 are in radians here)
Just to show what the result looks like after simplification: