I have two different systems (Engine A, Engine B). Engine A (Motive Tracking Software) generates (Yaw, Pitch, Roll) and Engine B (Cinema 4D) expects (Heading, Pitch, Bank).
My research brought me to the result that there is no difference between those two systems.
Yaw Pitch Roll
Heading Pitch Bank
Y X Z
However, for some reason, when I import the values, I get a mismatch.
My Input values are the following.
Frame, Yaw, Pitch, Roll
0, 179.98199463, 5.58994007, 20.91039276
1, -0.02482126, 0.21532322, -0.06678514
2, -0.03007862, 0.24067645, -0.12998220
But when I import the values, I am getting weird numbers:
Frame, Heading, Pitch, Bank
0, 119.383, -16.126, 72.529
1, -1.422, 12.337, -3.827
2, -1.723, 13.79, -7.447
It would be great if you could give me a hint, or if there is a difference between those systems, that you provide me the correct calculation.
Yaw is also known as azimuth or heading. The angular measurement on the vertical plane, with respect to the local level frame, is computed as pitch or roll.
Rotation around the side-to-side axis is called pitch. Rotation around the vertical axis is called yaw.
The Cardanian angles are also known as roll, pitch and yaw angles. Confusingly there are two different versions in common use, the sequences XYZ and ZYX.
A rotation expressed as a heading, pitch, and roll. Heading is the rotation about the negative z axis. Pitch is the rotation about the negative y axis. Roll is the rotation about the positive x axis.
Yaw, Pitch, Roll is the same as Heading, Pitch, Bank.
I was getting weird numbers as Cinema4D was expecting radiant numbers. I've figured out as I was passing for testing purposes (1, 1, 1) for all three axes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With