angles in camera sdk
Posted: Thu Dec 02, 2010 10:30 am
Hello friends!
One more time I need your help for resolve my doubts.
I use vecprocessor->GetOrientation(yaw,pitch,roll); to calculate the values of the angles, but pitch and yaw values I think that they are multiplied by 2 as. For example when I have the object with yaw = 45 degrees in reality, the function returns 90, and if I have the object with yaw = 89 degrees in reality, the function returns 178-179. The problem is that the function returns -180,-179,-170... when I have values equals or bigger than 90 and my software go crazy.
any idea?
thanks a lot!
One more time I need your help for resolve my doubts.
I use vecprocessor->GetOrientation(yaw,pitch,roll); to calculate the values of the angles, but pitch and yaw values I think that they are multiplied by 2 as. For example when I have the object with yaw = 45 degrees in reality, the function returns 90, and if I have the object with yaw = 89 degrees in reality, the function returns 178-179. The problem is that the function returns -180,-179,-170... when I have values equals or bigger than 90 and my software go crazy.
any idea?
thanks a lot!