Converting yaw pitch and roll to spherical coordinates

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 5K views
Hadar Szostak
Messages
3
Reaction score
0
hi guys,
can someone please tell me how to find Theta and Phi from Yaw Pitch and Roll?
I use my smartphone orientation sensor on a project and i need to calculate the smartphone's normal vector projection.
 
Physics news on Phys.org
First you must tell us how you want to orient the spherical system in space. Then maybe the question can be answered.
 
sorry but what do you mean by "orient the spherical system in space"?
 
Do you want the polar axis to represent your roll axis, or perhaps your yaw axis? Define how the polar coordinate system is to be related to the roll, pitch, and yaw axes.
 
oh sorry,
yaw is around Z axis
pitch is around x axis
roll is around y axis
upload_2014-12-20_21-23-29.png