Poses and Motion: Representations of Motion and Kinematics of Rigid - - PowerPoint PPT Presentation

poses and motion
SMART_READER_LITE
LIVE PREVIEW

Poses and Motion: Representations of Motion and Kinematics of Rigid - - PowerPoint PPT Presentation

Poses and Motion: Representations of Motion and Kinematics of Rigid Bodies The Heart of Robotics is Motion, Matt Mason Representations of Rotations 1) Rotation Matrix (direction cosine matrix) 2) Exponential Coordinates (Axis-angle) 3)


slide-1
SLIDE 1

Poses and Motion:

Representations of Motion and Kinematics of Rigid Bodies

“The Heart of Robotics is Motion”, Matt Mason

slide-2
SLIDE 2

Representations of Rotations

1) Rotation Matrix (direction cosine matrix) 2) Exponential Coordinates (Axis-angle) 3) Euler angles 4) Quaternion

slide-3
SLIDE 3

Why so many representations for rotation?

1) Rotation Matrix (direction cosine matrix) 2) Exponential Coordinates (Axis-angle) 3) Euler angles 4) Quaternion

+ Operations on other geometric elements + Composition

  • 9 elements for 3 DoF
  • Interpolation

+ Minimal representation + Intuitive to “visualize”

  • Interpolation
  • Operations on other geometric elements
  • Composition

+ Intuitive to “define” + Minimal representation

  • Gimbal lock
  • Composition
  • Operations on other geometric elements

+ “Almost” minimal representation + “Almost” intuitive to “visualize” + Interpolation (SLERP)

  • Operations on other geometric elements
slide-4
SLIDE 4

Gimbal Lock

slide-5
SLIDE 5

Representations of Poses

1) Homogeneous Transformation Matrix 2) Exponential Coordinates (Twist) Any combination of rotation representation + translation

slide-6
SLIDE 6

Why so many representations for pose?

1) Homogeneous Tranformation Matrix 2) Exponential Coordinates (Twist)

+ Operations on other geometric elements + Composition

  • 16 elements for 6 DoF
  • Interpolation

+ Minimal representation + Good for optimization and iterative error minimization

  • Interpolation
  • Operations on other geometric elements
  • Composition
slide-7
SLIDE 7
slide-8
SLIDE 8
slide-9
SLIDE 9
slide-10
SLIDE 10
slide-11
SLIDE 11

What will we learn - Fundamentals of Motion

  • Recap of Linear Algebra and Linear Differential Equation
  • Representation of rotations

○ Lie Group - Lie Algebra and Exponential Coordinates

  • Pose, Homogeneous transformation matrix
  • Kinematics of rigid bodies
slide-12
SLIDE 12

Recap

  • So far: Poses, motion between two time steps t0 and t1

(we used velocity, e.g. , only to derive exponential coordinates)

  • Now: Continuous change in pose over time -> velocity
slide-13
SLIDE 13

Kinematics of Rigid Bodies - Angular Velocity

Given the orientation R(t) of a rotating frame as a function of time t, what is its angular velocity?

slide-14
SLIDE 14

Rotational Velocity in Space and Body Frame

Def: Rotational velocity in space frame: Given the orientation 𝑆"#(𝑢) of a rotating frame {b} at time t. The (instantaneous) angular velocity vector w of frame {b} defined in frame {s} is 𝑥" = ̇ 𝑆"#𝑆"#

*+

The same velocity defined in frame {b} is 𝑥# = 𝑆"#

*+ ̇

𝑆"#

slide-15
SLIDE 15

Integrating Angular Velocity into Rotation Matrix

Given the constant angular velocity of a body, what is the orientation after t seconds?

slide-16
SLIDE 16

Kinematics of Rigid Bodies - Twists as Rigid Body Velocity

slide-17
SLIDE 17

Adjoint Transform

slide-18
SLIDE 18

Spatial Twist and Body Twist – Interpretations

slide-19
SLIDE 19

Integrating Velocity Twists into Transformation Matrix

slide-20
SLIDE 20
slide-21
SLIDE 21

Transforming Clouds of Points

slide-22
SLIDE 22

Estimating a Transformation from two Clouds of Points

1. Compute centroids 2. Generate H 1. Compute R 1. Compute t

slide-23
SLIDE 23

RANSAC [Fischler & Bolles, 81]

  • RANdom SAmple Consensus
  • Algorithm to estimate the parameters of model from data with outliers (for

example, parameters of a line or of a rigid pose)

  • RANSAC loop:

○ Randomly select a “seed group” of points on which to base transformation estimate (e.g., a group of matches) ○ Compute parameters from seed group ○ Find inliers to this model ○ If the number of inliers is sufficiently large, re-compute least-squares estimate of model on all

  • f the inliers

○ Keep model with the largest number of inliers

slide-24
SLIDE 24

RANSAC [Fischler & Bolles, 81]

  • Approach: we want to avoid the impact of outliers, so let’s look for

“inliers”, and use only those

  • Intuition: if an outlier is chosen to compute the current fit, then the

resulting group won’t have much support from the rest of elements

slide-25
SLIDE 25

Pros and Cons of RANSAC

  • Pros:

○ General method suited for a wide range of model fitting problems ○ Easy to implement and easy to calculate its failure rate

  • Cons:

○ Only handles a moderate percentage of outliers without cost blowing up ○ Many real problems have a high rate of outliers (but sometimes selective choice of random subsets can help)

slide-26
SLIDE 26

RANSAC Exercise - Prior

Given two points (x1,y1), (x2,y2), the line connecting them is: And the distance of a point (x0,y0) to the line can be calculated as:

slide-27
SLIDE 27
slide-28
SLIDE 28

Questions?