• Look at the origin of the coordinate system such that the axis of rotation points toward you. If the rotation is CWW (counter-clockwise), the rotation angle is positive, if the rotation is CW (clockwise), it is negative.
Ry(−90∘)=(cos⁡(−90∘)0sin⁡(−90∘)00100−sin⁡(−90∘)0cos⁡(−90∘)00001)=(cos⁡270∘0sin⁡270∘00100−sin⁡270∘0cos⁡270∘00001)=(00−10010010000001)\begin{aligned} & R_y\left(-90^{\circ}\right)=\left(\begin{array}{cccc} \cos \left(-90^{\circ}\right) & 0 & \sin \left(-90^{\circ}\right) & 0 \\ 0 & 1 & 0 & 0 \\ -\sin \left(-90^{\circ}\right) & 0 & \cos \left(-90^{\circ}\right) & 0 \\ 0 & 0 & 0 & 1 \end{array}\right) \\ & =\left(\begin{array}{cccc} \cos 270^{\circ} & 0 & \sin 270^{\circ} & 0 \\ 0 & 1 & 0 & 0 \\ -\sin 270^{\circ} & 0 & \cos 270^{\circ} & 0 \\ 0 & 0 & 0 & 1 \end{array}\right) \\ & =\left(\begin{array}{cccc} 0 & 0 & -1 & 0 \\ 0 & 1 & 0 & 0 \\ 1 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 \end{array}\right) \\ & \end{aligned} Pasted image 20240222220955
Built with LogoFlowershow