1 / 19

Translation, Rotation, and Transformation

Translation, Rotation, and Transformation. Translations (Simple, Linear, Commutative). D y. D x. Rotations Differ from Translations. Rotations are non-Euclidean like travelling on a globe vs. a grid Rotations are not commutative

electra
Download Presentation

Translation, Rotation, and Transformation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Translation, Rotation, and Transformation

  2. Translations(Simple, Linear, Commutative) Dy Dx

  3. Rotations Differ from Translations • Rotations are non-Euclidean • like travelling on a globe vs. a grid • Rotations are not commutative • x-rotate, y-rotate is not equal y-rotate, x-rotate etc. • Rotations are non-linear

  4. j j é ù cos -sin 0 ê ú = j j R sin cos 0 ê ú z ê ú 0 0 1 ë û Basic Rotation about Z-axis

  5. Rotation Parameterization • Represent rotation space in Euclidean R3 • e.g. Euler angles • Pros • three parameters for three DOFs • Cons • singularities, potentially poor interpolation

  6. Euler angles(φ,θ,ψ) • An Euler angle is a rotation about a single Cartesian axis • Create multi-DOF rotations by concatenating Eulers • R = Rψ RθRφ • 3 DOFs can be obtained by concatenating:

  7. j j é ù cos -sin 0 é ù 1 0 0 y y é ù cos -sin 0 ê ú ê ú = j j R sin cos 0 ê ú = q q R 0 cos -sin ê ú j = y y ê ú R sin cos 0 q ê ú y ê ú 0 0 1 q q ê ú ë û 0 sin cos ë û ê ú 0 0 1 ë û X-Convention • Most commonly used • The rotation given by Euler angles(φ,θ,ψ), where the first rotation is by an angle φ about the z-axis, the second is by an angle θ about the x-axis, and the third is by an angle ψ about the z-axis (again). • R = Rψ RθRφ

  8. é ù 1 0 0 q q j j é ù cos 0 sin é ù cos -sin 0 ê ú ê ú ê ú = y y R 0 cos -sin = j j = R sin cos 0 R 0 1 0 ê ú y ê ú ê ú j q y y ê ú 0 sin cos ë û ê ú q q ê ú 0 0 1 -sin 0 cos ë û ë û Yaw-Pitch-Roll Convention

  9. Singularities • More than one sets of parameters can create the same rotation matrix. • Gimbal lock - two or more axes align, results in loss of rotational DOFs • For Yaw-Pitch-Roll Convention

  10. Rotation Axis + Angle • Euler’s Rotation Theorem: • all rotations can be expressed as axis/angle

  11. Rotation Matrix V = (1-Cos[q]) C = Cos[q] S = Sin[q] For given axis U(unit length) = {u1, u2, u3}T and rotation angle q u1u 2V – u3 S u12 V + C u1u3V + u 2S R = u 2u1V + u3 S u 2u3V – u1 S u 22 V + C u32 V + C u3u1V – u2 S u3u 2V + u1 S

  12. Solution of Axis and Angle Sin[q] = ½{(R32-R23)2+(R13-R31)2+(R21-R12)2}(1/2) Cos[q] = (Trace[R]-1) / 2 q = Atan2(Sin[q], Cos[q]) -p < q < p y u1 = (R32-R23) / (2 Sin[q]) All Sine u2 = (R13-R31) / (2 Sin[q]) x Cosine Tan u3 = (R21-R12) / (2 Sin[q])

  13. TransformationAP = ATBBP B BP A AP

  14. Example: ATB = zA 5 xB yA yB xA zB

  15. Cube of Sides 2 ATB = yB xB yA xA

  16. Multiple Transformations AP = ATB BTC CTDDP Also DTA = (ATD)T

  17. EOM’s • Newton SF=ma, SM=Ia I L SM=Ia - m g L Sin[q] = I a m g L Sin[q] + I a = 0 q mg

  18. EOM’s • Lagrangian L = K – P (kinetic and potential energy) L q mg

  19. EOM’s

More Related