rotation and orientation
play

Rotation and Orientation: Fundamentals Perelyaev Sergei VARNA, - PDF document

Rotation and Orientation: Fundamentals Perelyaev Sergei VARNA, 2011 What is Rotation ? Not intuitive Formal definitions are also confusing Many different ways to describe Rotation (direction cosine) matrix Euler angles


  1. Rotation and Orientation: Fundamentals Perelyaev Sergei VARNA, 2011

  2. What is Rotation ? • Not intuitive – Formal definitions are also confusing • Many different ways to describe – Rotation (direction cosine) matrix – Euler angles – Axis-angle – Rotation vector – Helical angles – Unit quaternions

  3. Orientation vs. Rotation • Rotation – Circular movement • Orientation – The state of being oriented – Given a coordinate system, the orientation of an object can be represented as a rotation from a reference pose • Analogy – (point : vector) is similar to (orientation : rotation) – Both represent a sort of (state : movement)

  4. 2D Orientation π 2 θ π 0 or − π Polar Coordinates π − 2

  5. 2D Orientation π 2 θ θ ( t ) π π Time or − π 0 − π Although the motion is continuous, π its representation could be discontinuous − 2

  6. 2D Orientation π 2 θ θ ( t ) π π Time or − π 0 − π Many-to-one correspondences π between 2D orientations and their − 2 representations

  7. Extra Parameter Y + y = 2 2 x 1 ( x , y ) θ X

  8. Extra Parameter 2x2 Rotation matrix is yet Y + y = 2 2 x 1 another method of using extra parameters θ − θ ⎛ ⎞ cos sin ⎜ ⎟ ( x , y ) ⎜ ⎟ θ θ ⎝ ⎠ sin cos θ X

  9. Real iy Complex Number x + θ Imaginary

  10. Complex Exponentiation + = θ + θ Imaginary x iy cos i sin θ = i e x + iy θ Real

  11. Rotation Composition Imaginary θ + ) φ θ φ = i ( i i e e e θ + φ Real

  12. 2D Rotation • Complex numbers are good for representing 2D orientations , but inadequate for 2D rotations • A complex number cannot distinguish different rotational movements that result in the same final orientation – Turn 120 degree counter-clockwise Imaginary – Turn -240 degree clockwise – Turn 480 degree counter-clockwise θ Real θ − π 2

  13. 2D Rotation and Orientation • 2D Rotation – The consequence of any 2D rotational movement can be uniquely represented by a turning angle – A turning angle is independent of the choice of the reference orientation • 2D Orientation – The non-singular parameterization of 2D orientations requires extra parameters • Eg) Complex numbers, 2x2 rotation matrices – The parameterization is dependent on the choice of the reference orientation

  14. 3D Rotation • Given two arbitrary orientations of a rigid object, X X ′ Z ′ Z Y How many rotations do we need to transform one Y ′ orientation to the other ?

  15. 3D Rotation • Given two arbitrary orientations of a rigid object, ˆ v θ we can always find a fixed axis of rotation and a rotation angle about the axis

  16. Euler’s Rotation Theorem The general displacement of a rigid body with one point fixed is a rotation about some axis Leonhard Euler (1707-1783) In other words, • Arbitrary 3D rotation equals to one rotation around an axis • Any 3D rotation leaves one vector unchanged

  17. Euler Angles • Rotation about three orthogonal axes – 12 combinations • XYZ, XYX, XZY, XZX • YZX, YZY, YXZ, YXY • ZXY, ZXZ, ZYX, ZYZ • Gimble lock – Coincidence of inner most and outmost gimbles’ rotation axes – Loss of degree of freedom

  18. Rotation Vector ˆ v ˆ v : unit vecto r θ : scalar angle θ = θ = • Rotation vector (3 parameters) ˆ v v ( x , y , z ) θ ˆ • Axis-Angle (2+1 parameters) v ( , )

  19. 3D Orientation • Unhappy with three parameters – Euler angles • Discontinuity (or many-to-one correspondences) • Gimble lock – Rotation vector (a.k.a Axis/Angle) • Discontinuity (or many-to-one correspondences) π − π

  20. Using an Extra Parameter • Euler parameters θ ⎛ ⎞ = ⎜ ⎟ e cos 0 ⎝ ⎠ 2 θ : rotation angle ⎡ ⎤ e 1 θ ⎛ ⎞ ⎢ ⎥ = ⎜ ⎟ ˆ e v sin ⎢ ⎥ ˆ v : rotation axis 2 ⎝ ⎠ 2 ⎢ ⎥ ⎣ ⎦ e 3

  21. Quaternions • William Rowan Hamilton (1805-1865) – Algebraic couples (complex number) 1833 x + = − iy 2 where i 1

  22. Quaternions • William Rowan Hamilton (1805-1865) – Algebraic couples (complex number) 1833 x + = − iy 2 where i 1 – Quaternions 1843 + + + = = = = − 2 2 2 w ix jy kz i j k ijk 1 where = = = ij k , jk i , ki j = − = − = − ji k , kj i , ik j

  23. Quaternions William Thomson “… though beautifully ingenious, have been an unmixed evil to those who have touched them in any way.” Arthur Cayley “… which contained everything but had to be unfolded into another form before it could be understood.”

  24. Unit Quaternions • Unit quaternions represent 3D rotations 3 S = + + + q w ix jy kz = ( w , x , y , z ) = v ( w , ) + + + = 2 2 2 2 w x y z 1

  25. Rotation about an Arbitrary Axis θ • Rotation about axis by angle ˆ v ˆ v ( x , y , z ) ′ ′ ′ ( x , y , z ) θ v θ ⎛ ⎞ = ⎜ ⎟ ˆ q cos , sin θ ⎝ ⎠ 2 2 = ′ − = 1 p ( 0 , x , y , z ) p qpq where Purely Imaginary Quaternion

  26. Unit Quaternion Algebra = • Identity q ( 1 , 0 , 0 , 0 ) = q q ( w , v )( w , v ) 1 2 1 1 2 2 • Multiplication = − ⋅ + + × ( w w v v , w v w v v v ) 1 2 1 2 1 2 2 1 1 2 − = − − − + + + 1 2 2 2 2 q ( w , x , y , z ) /( w x y z ) • Inverse = − + + + 2 2 2 2 ( w , x , y , z ) /( w x y z ) • Unit quaternion space is – closed under multiplication and inverse, – but not closed under addition and subtraction

  27. Tangent Vector (Infinitesimal Rotation) 3 T S q q

  28. Tangent Vector (Infinitesimal Rotation) 3 T S q − 1 q q

  29. Tangent Vector (Infinitesimal Rotation) 3 T S I = ( , , , ) I 1 0 0 0 ( , , , ) 0 x y z Angular Velocity − ω = q & 1 2 q

  30. Rotation Vector 3 3 S R q p 1 1 = − u p p 2 1 p 2 q 2 = + p p u 2 1 = + − p ( p p ) 1 2 1

  31. Rotation Vector 3 − 3 = 1 S R I q 1 q 1 p 1 = − q − u p p 1 1 q 2 1 2 p 2 = + p p u 2 1 = + − p ( p p ) 1 2 1

  32. Rotation Vector ( ) − = 1 v log q q − 3 = 1 R I q 1 q 1 2 1 p 1 = − q − u p p 1 1 q 2 1 2 p 2 = = + q q exp( v ) p p u 2 1 2 1 ( ( ) ) = + − − = 1 p p p ( ) q exp log q q 1 2 1 1 1 2

  33. Rotation Vector • Finite rotation – Eg) Angular displacement – Be careful when you add two rotation vectors + ≠ u v u v e e e • Infinitesimal rotation – Eg) Instantaneous angular velocity – Addition of angular velocity vectors are meaningful

  34. Coordinate-Invariant Operations

  35. Analogy • (point : vector) is similar to (orientation : rotation)

  36. Rotation Conversions • In theory, conversion between any representations is possible • In practice, conversion is not simple because of different conventions • Quaternion to Matrix ⎛ ⎞ + − − − + 2 2 2 2 q q q q 2 q q 2 q q 2 q q 2 q q 0 ⎜ ⎟ 0 x y z x y 0 z x z 0 y + − + − − ⎜ ⎟ 2 2 2 2 2 q q 2 q q q q q q 2 q q 2 q q 0 = x y 0 z 0 x y z y z 0 x R ⎜ ⎟ − + − − + 2 2 2 2 2 q q 2 q q 2 q q 2 q q q q q q 0 ⎜ ⎟ x z 0 y y z 0 x 0 x y z ⎜ ⎟ ⎝ ⎠ 0 0 0 1

  37. Method for Mapping the Four-Dimensional Spa- ce onto the Oriented Three-Dimensional Space For further presentation, we recall the notion of three-dimensional sphere S 3 ⊂ R 4. Such a sphere defined as a subspace of the four-dimensional vector space R 4 is determined by the well-known expression

  38. The sphere S 3 has the structure of a three-dimensional analytic connected closed oriented manifold, just as the three-dimensional rotation group SO (3) . Therefore, such a sphere S 3 can in a standard way be embedded in a four-dimensio nal arithmetic space R4 equipped with the structure of quaternion algebra. In this case, the four-dimensional vector x = ( x 1 , x 2 , x 3 , x 4) T whose coordinates are x 1 = λ 0, x 2 = λ 1, x 3 = λ 2, x 4 = λ 3 , respectively, can be represented in the well-known algebraic form (2.2) of the classi- cal Hamiltonian quaternion Λ . The sphere projection S 3 → RP 3 associates each s uch a quaternion Λ ∈ S 3 ⊂ R 4 with a pair of quaternions ( Λ , − Λ ) , which corres- pond to two identified opposite points on the surface of the three-dimensional sphere S 3. If the four real parameters λ 0, λ 1, λ 2, λ 3 ∈ R 1 of the classical Hamiltonian quaternions Λ ∈ R 4 are used, the mapping of the sphere S 3 ⊂ R 4 onto the space SO (3) of all possible configurations of a rigid body with a single immovable (fixed) point is two-sheeted.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend