Yaw Pitch & Roll to spherical Theta & Phi

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
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