Is Yaw, Pitch and Roll respectively the same thing as Heading, Pitch and Bank?

user1767754 picture user1767754 · Jun 6, 2013 · Viewed 14.4k times · Source

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.

Answer

user1767754 picture user1767754 · Jun 7, 2013

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.