Pitch angle should be -180 to +180 Degrees instead of -90 to +90 Degrees

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Pitch angle should be -180 to +180 Degrees instead of -90 to +90 Degrees

3,359 次查看
venkidravid
Contributor II

Hi,

 I am using NXP sensor fusion library. In My application Orientation to be shown in  Yaw, Pitch, Roll in Euler angles in front end display unit.

The NXP fusion source code outputs Yaw in 0 to 360 Degrees, Pitch in -90 to +90 Degrees, Roll in -180 to +180 Degrees.

But as per my application, the Pitch angle should be -180 to +180 Degrees instead of -90 to +90 Degrees.

That means when i rotate the pitch axis from 0 to 360 degrees my display should show  

                        0 ---> 45 ---> 90 (89+) ---> 135 ---> +180/-180 -->  - 135 ---> -90 (89) --->   -45 ---> 0.

instead of        0 ---> 45 ---> 90(89+) ---->  45 --->       0          --->   -45  --->  -90(89)  --->  -45  ---> 0.

Is it possible with any additional mathematics / logic that can be applied while calculating pitch from rotation matrix..?

Please suggest me..

Thank you in advance...

标签 (2)
0 项奖励
1 回复

3,323 次查看
venkidravid
Contributor II

Hi,

I think my question itself is wrong.. Since representing pitch beyond +-90 (that means +-180) will give two Euler angle solutions for every Orientation in 3D frame... So in NED frame of reference Pitch is limited to +-90 only.

This is clearly explained in application note AN5017 in section 1.8.  Thanks to NXP without which things might have been difficult for me.

Thanks a lot, NXP.

0 项奖励