How To Find the Euler Angles(Roll,Pitch,Yaw) of a Plane in 3D?
조회 수: 136 (최근 30일)
이전 댓글 표시
I am not sure if there is a way to find it. But I just wanted to ask it. Is there a way to find the Euler Angles (Roll, Pitch, Yaw) of a plane in 3D? Imagine that we have 3 points coordinates (P1(P1x,P1y,P1z), P2(P2x,P2y,P2z), P3(P3x,P3y,P3z)) in 3D space. By those points, we can find the plane equation which cooncide with P1,P2 and P3 points. We can assume that the plane equation is equal to A*x+B*y+C*z+D=0 .
From this plane equation, can we find the Roll, Pitch, Yaw angles of the corresponding plane?
R(r,p,y)=Rz(y)Ry(p)Rx(r) order or any other order which is described.
댓글 수: 0
답변 (1개)
Athul Prakash
2021년 1월 19일
Hi Ercan,
You mentioned that you have a plane equation of the form and wish to calculate the Euler angles. I presume you are referring to the angles that the plane's normal vector makes with the three axes. Further, these angles are the same as the angles with three axes-planes (eg: angle of normal with x-axis = angle of this plane with y-z plane)
The plane equation can be thought of as (where is a normal vthctor to the plane and is a variable point).
So the coefficients from the plane equation are the components of a normal vector ().
Thus, gives the angle 'α' with the x-axis. Similarly, you may calculate cosines of angles with the y and z axes as well. Obtaining the angles in radians is straightforward with the inverse cosine function.
Hope it helps!
댓글 수: 2
참고 항목
카테고리
Help Center 및 File Exchange에서 Assembly에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!