Yaw Pitch & Roll to spherical Theta & Phi

AI Thread Summary
To convert Yaw, Pitch, and Roll into spherical coordinates Theta and Phi, it's essential to define the orientation of the spherical coordinate system in relation to these axes. Yaw is specified as rotation around the Z-axis, Pitch around the X-axis, and Roll around the Y-axis. This orientation will determine how the normal vector projection of the smartphone is calculated. Clarifying this relationship is crucial for accurate conversion. Understanding the spatial orientation is key to resolving the query effectively.
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
 
So I know that electrons are fundamental, there's no 'material' that makes them up, it's like talking about a colour itself rather than a car or a flower. Now protons and neutrons and quarks and whatever other stuff is there fundamentally, I want someone to kind of teach me these, I have a lot of questions that books might not give the answer in the way I understand. Thanks
Back
Top