1 / 28

3D Kinematics

Consists of two parts 3D rotation 3D translation The same as 2D. 3D rotation is more complicated than 2D rotation (restricted to z-axis) Next, we will focus on the spatial (3D) rotation. 2D (rigid body) kinematics C.M. translation and rotation. 3D Kinematics. Euler angles Axis-angle

strom
Download Presentation

3D Kinematics

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. Consists of two parts 3D rotation 3D translation The same as 2D 3D rotation is more complicated than 2D rotation (restricted to z-axis) Next, we will focus on the spatial (3D) rotation 2D (rigid body) kinematics C.M. translation and rotation 3D Kinematics

  2. Euler angles Axis-angle 3X3 rotation matrix Unit quaternion Learning Objectives Representation (uniqueness) Perform rotation Composition Interpolation Conversion among representations … 3D Rotation Representations

  3. Euler Angles • Specify orientation in rotation along 3 axes • Variation: which axes? global or local?

  4. From Mason’s book a g b Write a program …

  5. Roll, pitch, yaw Gimbal lock: reduced DOF due to overlapping axes Why gimbal lock a problem? Euler Angles Ref: http://www.fho-emden.de/~hoffmann/gimbal09082002.pdf

  6. Axis-Angle Representation • Rot(n,q) • n: rotation axis (global) • q: rotation angle (rad. or deg.) • follow right-handed rule • Rot(n,q)=Rot (-n,-q) • Problem with null rotation: rot(n,0), any n • Perform rotation • Rodrigues formula • Interpolation/Composition: poor • Rot(n2,q2)Rot(n1,q1) =?= Rot(n3,q3)

  7. a Rodrigues Formula r v v’=R v v’ References: http://mesh.caltech.edu/ee148/notes/rotations.pdf http://www.cs.berkeley.edu/~ug/slide/pipeline/assignments/as5/rotation.html

  8. Meaning of three columns Perform rotation: linear algebra Composition: trivial orthogonalization might be required due to FP errors Interpolation: ? Rotation Matrix

  9. Gram-Schmidt Orthogonalization • If 3x3 rotation matrix no longer orthonormal, metric properties might change! Verify!

  10. i k j Quaternion • A mathematical entity invented by Hamilton • Definition

  11. Operators Addition Multiplication Conjugate Length Quaternion (cont)

  12. Unit Quaternion • Define unit quaternion as follows to represent rotation • Example • Rot(z,90°) • q and –q represent the same rotation Why “unit”? DOF point of view!

  13. quaternion→axis-angle Use both values of sine and cosine to determine the angle!!

  14. Ex: q and –q are the same!

  15. y x z Example x y z Rot (90, 0,0,1) OR Rot (-90,0,0,-1)

  16. Unit Quaternion (cont) • Perform Rotation • Composition • Interpolation • Linear • Spherical linear

  17. y,x’ x y’ z,z’ Example p(2,1,1) Rot(z,90°)

  18. Example (cont)

  19. y,x’ x y’ z,z’ Example y x,x’ z,y’ z’

  20. Matrix Conversion

  21. Matrix Conversion (cont) Find largest qi2; solve the rest

  22. q r Slerp (Spherical Linear Interpolation) unit sphere in R4 The computed rotation quaternion rotates about a fixed axis at constant speed References: http://www.gamedev.net/reference/articles/article1095.asp http://www.diku.dk/research-groups/image/teaching/Studentprojects/Quaternion/ http://www.sjbrown.co.uk/quaternions.html http://www.theory.org/software/qfa/writeup/node12.html

  23. Spatial Displacement • Any displacement can be decomposed into a rotation followed by a translation • Matrix • Quaternion

  24. From Mason’s book a g b Write a program …

  25. z a z’’’ g y’’’ x y b x’’’

  26. From previous page

  27. In v’=Mv convention From Lee and Koh (1995) Euler angles in ASF

More Related