J
J
ja_ne_znaju2018-07-27 12:22:50
Mathematics
ja_ne_znaju, 2018-07-27 12:22:50

How to find the rotation matrix between two objects?

Hello. I have an Object, let's say "Fork". I know its initial coordinates. Position and rotation matrix.
Then I rotated it and I also know the final results and the rotation matrix.
How to find now how many degrees the fork was rotated in euler angle.
I think it's like in the picture.
Matrix X came out. I inserted it into the converter. On that website.
https://www.andre-gaschler.com/rotationconverter/
Good angles come out, real ones. But how does the converter calculate the second rotation matrix? That is, on the left ..
Or am I doing everything wrong?
Help me please.
5b5ae3a2e41f8255991148.png5b5ae3985d3f9104212140.jpeg
Fork Matrix A

[  0.186812,  -0.908758,   0.373175;
  -0.954698, -0.0783737,   0.287069;
  -0.231629,  -0.409897,  -0.882231]

Fork Matrix B
[ 0.291274, -0.888062,  0.355676;
 -0.933193, -0.181957,  0.309906;
 -0.210498, -0.422182, -0.881733]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Griboks, 2018-07-27
@Griboks

Use the dot product of vectors to express the angle (forks are vectors).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question