Rigid motions - PowerPoint PPT Presentation

1 / 27
About This Presentation
Title:

Rigid motions

Description:

Representation of Rotation. Before we go further, we should consider a few different ways of representing orientation ... Possible rotation representations ... – PowerPoint PPT presentation

Number of Views:154
Avg rating:3.0/5.0
Slides: 28
Provided by: rpl94
Category:

less

Transcript and Presenter's Notes

Title: Rigid motions


1
Representation of Rotation
  • Before we go further, we should consider a few
    different ways of representing orientation
  • Each has its own advantages / disadvantages

2
The space of rotations
Special orthogonal group(3)
Why ?
Rotations preserve distance
Rotations preserve orientation
3
The space of rotations
Special orthogonal group(3)
  • Why orthogonal
  • vectors in matrix are orthogonal
  • Why its special , NOT

Right hand coordinate system
4
Possible rotation representations
  • You need at least three numbers to represent an
    arbitrary rotation in SO(3) (Euler theorem). Some
    three-number representations
  • ZYZ Euler angles
  • ZYX Euler angles (roll, pitch, yaw)
  • Axis angle
  • One four-number representation
  • quaternions

5
ZYZ Euler Angles
  • To get from A to B
  • Rotate about z axis
  • Then rotate about y axis
  • Then rotate about z axis

6
ZYZ Euler Angles
Remember that
encode the desired rotation in the pre-rotation
reference frame
Therefore, the sequence of rotations is
concatentated as follows
7
ZYX Euler Angles (roll, pitch, yaw)
  • To get from A to B
  • Rotate about z axis
  • Then rotate about y axis
  • Then rotate about x axis

8
ZYX Euler Angles (roll, pitch, yaw)
In Euler angles, the each rotation is imagined to
be represented in the post-rotation coordinate
frame of the last rotation
In Fixed angles, all rotations are imagined to be
represented in the original (fixed) coordinate
frame.
  • ZYX Euler angles can be thought of as
  • ZYX Euler
  • XYZ Fixed

9
Problems w/ Euler Angles
  • If two axes are aligned, then there is a dont
    care manifold of Euler angles that represent the
    same orientation
  • The system loses one DOF

, but the actual distance is
10
Problem w/ Euler Angles gimbal lock
  • When a small change in orientation is associated
    with a large change in rotation representation
  • Happens in singular configurations of the
    rotational representation (similar to singular
    configurations of a manipulator)
  • This is a problem w/ any Euler angle
    representation

11
Problem w/ Euler Angles gimbal lock
12
Problem w/ Euler Angles gimbal lock
13
Axis-angle representation
Theorem (Euler). Any orientation,
, is equivalent to a rotation about a fixed
axis, , through an angle
(also called exponential coordinates)
Angle
Axis
Converting to a rotation matrix
Rodrigues formula
14
Axis-angle representation
Converting to axis angle
Magnitude of rotation
Axis of rotation
Where
and
15
Axis-angle representation
Axis angle is can be encoded by just three
numbers instead of four
If then
and
If the three-number version of axis angle is
used, then
For most orientations, , is unique.
For rotations of , there are two
equivalent representations
If then
16
Axis-angle problems
Still suffers from the edge and distance
preserving problems of Euler angles
, but the actual distance is
Distance metric changes as you get further from
origin.
17
Projection distortions
18
Example differencing rotations
Calculate the difference between these two
rotations
This is NOT the right answer
According to that, this is the magnitude of the
difference
19
Example differencing rotations
Convert to rotation matrices to solve this
problem
20
Quaternions
  • So far, rotation matrices seem to be the most
    reliable method of manipulating rotations. But
    there are problems
  • Over a long series of computations, numerical
    errors can cause these 3x3 matrices to no longer
    be orthogonal (you need to orthogonalize them
    from time to time).
  • Although you can accurately calculate rotation
    differences, you cant interpolate over a
    difference.
  • Suppose you wanted to smoothly rotate from one
    orientation to another how would you do it?

Answer quaternions
21
Quaternions
Generalization of complex numbers
Essentially a 4-dimensional quantity
Properties of complex dimensions
Multiplication
Complex conjugate
22
Quaternions
Invented by Hamilton in 1843
Along the royal canal in Dublin
23
Quaternions
Lets consider the set of unit quaternions
This is a four-dimensional hypersphere, i.e. the
3-sphere
The identity quaternion is
Consider
Therefore, the inverse of a unit quaternion is
24
Quaternions
Associate a rotation with a unit quaternion as
follows
(just like axis angle)
Given a unit axis, , and an angle,
The associated quaternion is
Therefore, represents the same rotation as
Let be the quaternion
associated with the vector
You can rotate from frame a to b
Composition
Inversion
25
Example Quaternions
Rotate by
26
Example Quaternions
Find the difference between these two axis angle
rotations
27
Quaternions Interpolation
Suppose youre given two rotations, and How
do you calculate intermediate rotations?
This does not even result in a rotation matrix
Do quaternions help?
  • Suprisingly, this actually works
  • Finds a geodesic

This method normalizes automatically (SLERP)
Write a Comment
User Comments (0)
About PowerShow.com