Docsity

Screw Coordinates, Lecture Slide - Robotics, Slides of Robotics

Partial preview of the text

Download Screw Coordinates, Lecture Slide - Robotics and more Slides Robotics in PDF only on Docsity!

Representing displacements

Overview, motivation Review of spatial displacements Homogeneous coordinates Plücker coordinates of a line Moment of a lineReciprocal or virtual product Screw coordinates Screw coordinates of a twist Twists of zero or infinitepitch Differential twists

Lecture 8.

Representing displacements

Matthew T. Mason

Mechanics of Manipulation Spring 2011

Representing displacements

Overview, motivation Review of spatial displacements Homogeneous coordinates Plücker coordinates of a line Moment of a lineReciprocal or virtual product Screw coordinates Screw coordinates of a twist Twists of zero or infinitepitch Differential twists

Today’s outline

Overview, motivation

Review of spatial displacements

Homogeneous coordinates

Plücker coordinates of a line Moment of a line Reciprocal or virtual product

Screw coordinates Screw coordinates of a twist Twists of zero or infinite pitch Differential twists

Representing displacements

Overview, motivation Review of spatial displacements Homogeneous coordinates Plücker coordinates of a line Moment of a lineReciprocal or virtual product Screw coordinates Screw coordinates of a twist Twists of zero or infinitepitch Differential twists

Review of spatial displacements

Theorem (2.2)

For any displacement D of En, and any point O, D is the composition of a translation with a rotation about O.

Theorem (2.7, Chasles)

Every spatial displacement is the composition of a rotation about some axis, and a translation along the same axis.

I (^) Two ideas:

  1. Use Theorem 2.2—any rep’n of rotation, and any rep’n of translation. (A variation: homogeneous coordinate transform matrices.)
  2. Use Theorem 2.7—find a way of representing a line, plus rotation angle and translation distance. One way: screw coordinates.

Representing displacements

Overview, motivation Review of spatial displacements Homogeneous coordinates Plücker coordinates of a line Moment of a lineReciprocal or virtual product Screw coordinates Screw coordinates of a twist Twists of zero or infinitepitch Differential twists

Homogeneous coordinates

Using rotation matrices to represent rotations, and vectors to represent translation, you can displace a point:

x ′^ = R x + d

The cool trick is to add a seemingly spurious fourth coordinate whose value is always one:

x =

x 1 x 2 x 3 1

(Remember, we did this before. If the fourth element is 0 we get points at infinity. Now we’re focusing on ordinary points.)

Representing displacements

Overview, motivation Review of spatial displacements Homogeneous coordinates Plücker coordinates of a line Moment of a lineReciprocal or virtual product Screw coordinates Screw coordinates of a twist Twists of zero or infinitepitch Differential twists

Why we love homogeneous coordinates

I (^) We love matrices. Especially matrix multiplication! I (^) Great for operating on points. Great for composition. I (^) We can use the same script notation we did for rotation matrices: AB T etc. I (^) Inverse is simple (but not as simple as rotation matrices). I (^) Something to ponder: is it legitimate to consider the first three columns to be points at infinity?

Representing displacements

Overview, motivation Review of spatial displacements Homogeneous coordinates Plücker coordinates of a line Moment of a lineReciprocal or virtual product Screw coordinates Screw coordinates of a twist Twists of zero or infinitepitch Differential twists

Why?

Why line coordinates

I (^) Chasles’s theorem describes displacements in terms a line: the screw axis. I (^) Poinsot’s theorem (which we will visit later) describes forces in terms of a line: the line of action. I (^) Constraint too! (But sadly, without a theorem.) I (^) You might ask, why use point coordinates?

“Since all the phenomena mentioned above are body and not point dependent, screw based descriptions are intrinsic to the phenomena and should therefore have certain advantages over some of the more common point based formulations.” (Roth, 1984)

Representing displacements

Overview, motivation Review of spatial displacements Homogeneous coordinates Plücker coordinates of a line Moment of a lineReciprocal or virtual product Screw coordinates Screw coordinates of a twist Twists of zero or infinitepitch Differential twists

Plücker coordinates may seem familiar.

Relation to force and torque

I (^) Suppose you apply a force f at a point p. I (^) Then the corresponding torque is n = p × f. I (^) ( f , n ) are the Plücker coordinates of the line of force.

But this is getting ahead of ourselves. We will revisit.

Representing displacements

Overview, motivation Review of spatial displacements Homogeneous coordinates Plücker coordinates of a line Moment of a lineReciprocal or virtual product Screw coordinates Screw coordinates of a twist Twists of zero or infinitepitch Differential twists

Plücker’s excess numbers

I (^) Plücker coordinates give six numbers. A line requires only four. I (^) First, since q 0 = p × q , there is a constraint:

q · q 0 = 0

I (^) Second, scaling gives same the line

( q , q 0 ) ≡ k( q , q 0 )

for any nonzero k. I (^) So, Plücker coordinates are another kind of homogeneous coordinates!

Representing displacements

Overview, motivation Review of spatial displacements Homogeneous coordinates Plücker coordinates of a line Moment of a lineReciprocal or virtual product Screw coordinates Screw coordinates of a twist Twists of zero or infinitepitch Differential twists

Plücker coords of line through origin

I (^) Zero q 0 : Line passes through

origin. O

l

q

q 0 0

Representing displacements

Overview, motivation Review of spatial displacements Homogeneous coordinates Plücker coordinates of a line Moment of a lineReciprocal or virtual product Screw coordinates Screw coordinates of a twist Twists of zero or infinitepitch Differential twists

Plücker coords of line at infinity

I (^) Nonzero q 0 is orthogonal to a plane containing the line. I (^) Magnitude of | q 0 |/| q | gives distance to line. I (^) Work it out as a limiting process. Hold q 0 constant as line goes to infinity. then q approaches 0.

0

l

q 0

q 0

q 0

q

l

d

So, if q 0 = 0 , the line goes through the origin. if q = 0 , the line is at infinity. But q = q 0 = 0 doesn’t make sense.

Representing displacements

Overview, motivation Review of spatial displacements Homogeneous coordinates Plücker coordinates of a line Moment of a lineReciprocal or virtual product Screw coordinates Screw coordinates of a twist Twists of zero or infinitepitch Differential twists

A topical example.

Representing displacements

Overview, motivation Review of spatial displacements Homogeneous coordinates Plücker coordinates of a line Moment of a lineReciprocal or virtual product Screw coordinates Screw coordinates of a twist Twists of zero or infinitepitch Differential twists

Moment of a line about a point

Definition (Moment of a line about a

point)

The moment of a line l 2 about a point p 1.

( p 2 − p 1 ) ×

q 2 | q 2 |

p 2 × q 2 − p 1 × q 2 | q 2 | q 02 − p 1 × q 2 | q 2 |

It might be more accurate to describe this as the moment of a directed line.

Representing displacements

Overview, motivation Review of spatial displacements Homogeneous coordinates Plücker coordinates of a line Moment of a lineReciprocal or virtual product Screw coordinates Screw coordinates of a twist Twists of zero or infinitepitch Differential twists

Reciprocal product / virtual product

Definition (Reciprocal product; virtual product)

Define reciprocal product, or virtual product:

( q 1 , q 01 ) ∗ ( q 2 , q 02 ) = q 1 · q 02 + q 2 · q 01

If the Plücker coordinates are normalized, reciprocal product gives the moment between the two lines.

Representing displacements

Overview, motivation Review of spatial displacements Homogeneous coordinates Plücker coordinates of a line Moment of a lineReciprocal or virtual product Screw coordinates Screw coordinates of a twist Twists of zero or infinitepitch Differential twists

More uses for Plücker coordinates

I (^) Geometrically, the moment is the distance between the lines times the sine of the angle.

d sin α = ( q 1 , q 01 ) ∗ ( q 2 , q 02 )/| q 1 q 2 |

I (^) Note we can also get the angle by

sin α = q 1 × q 2 /| q 1 q 2 |

I (^) So to get the (signed) distance between two lines:

d = ( q 1 , q 01 ) ∗ ( q 2 , q 02 ) | q 2 × q 1 |

I (^) To tell if two lines intersect, check if reciprocal product is zero. (Parallel lines intersect at infinity!)