Homogeneous coordinates, lines, screws and twists

Similar documents
CSE 252B: Computer Vision II

The Denavit Hartenberg Convention

Jane Li. Assistant Professor Mechanical Engineering Department, Robotic Engineering Program Worcester Polytechnic Institute

3. Manipulator Kinematics. Division of Electronic Engineering Prof. Jaebyung Park

Robotics kinematics and Dynamics

MCE/EEC 647/747: Robot Dynamics and Control. Lecture 3: Forward and Inverse Kinematics

Kinematics. Kinematics analyzes the geometry of a manipulator, robot or machine motion. The essential concept is a position.

Last week. Machiraju/Zhang/Möller/Fuhrmann

Forward kinematics and Denavit Hartenburg convention

DIMENSIONAL SYNTHESIS OF SPATIAL RR ROBOTS

9. Representing constraint

Shadows in Computer Graphics

Solution of inverse kinematic problem for serial robot using dual quaterninons and plucker coordinates

Inverse Kinematics of 6 DOF Serial Manipulator. Robotics. Inverse Kinematics of 6 DOF Serial Manipulator

JUST THE MATHS SLIDES NUMBER 5.2. GEOMETRY 2 (The straight line) A.J.Hobson

Perspective projection and Transformations

Multiple View Geometry in Computer Vision

Jorg s Graphics Lecture Notes Coordinate Spaces 1

Prof. Mark Yim University of Pennsylvania

Three Dimensional Geometry. Linear Programming

1. Introduction 1 2. Mathematical Representation of Robots

Vector Algebra Transformations. Lecture 4

Module 1 Session 1 HS. Critical Areas for Traditional Geometry Page 1 of 6

Geometric transformations assign a point to a point, so it is a point valued function of points. Geometric transformation may destroy the equation

3.5 Equations of Lines and Planes

Inverse Kinematics Analysis for Manipulator Robot With Wrist Offset Based On the Closed-Form Algorithm

Using Algebraic Geometry to Study the Motions of a Robotic Arm

CS-9645 Introduction to Computer Vision Techniques Winter 2019

Basic Elements. Geometry is the study of the relationships among objects in an n-dimensional space

COMP30019 Graphics and Interaction Three-dimensional transformation geometry and perspective

Computer Graphics with OpenGL ES (J. Han) Chapter IV Spaces and Transforms

GEOMETRY IN THREE DIMENSIONS

3-D D Euclidean Space - Vectors

240AR059 - Geometric Fundamentals for Robot Design

Computer Vision I - Appearance-based Matching and Projective Geometry

Automatic Extraction of DH Parameters of Serial Manipulators using Line Geometry

Chapter 2 Mechanisms Abstract

Kinematic Model of Robot Manipulators

ME5286 Robotics Spring 2014 Quiz 1 Solution. Total Points: 30

2D Object Definition (1/3)

Lecture Note 6: Forward Kinematics

MTRX4700 Experimental Robotics

Robot mechanics and kinematics

EM225 Projective Geometry Part 2

12 - THREE DIMENSIONAL GEOMETRY Page 1 ( Answers at the end of all questions ) = 2. ( d ) - 3. ^i - 2. ^j c 3. ( d )

Visual Recognition: Image Formation

UNIVERSITY OF OSLO. Faculty of Mathematics and Natural Sciences

Robotics I. March 27, 2018

Robot Vision: Projective Geometry

MATHEMATICS 105 Plane Trigonometry

Introduction to Robotics

Hello, welcome to the video lecture series on Digital Image Processing. So in today's lecture

Computer Vision I - Appearance-based Matching and Projective Geometry

Robot mechanics and kinematics

Industrial Robots : Manipulators, Kinematics, Dynamics

θ x Week Date Lecture (M: 2:05p-3:50, 50-N202) 1 23-Jul Introduction + Representing Position & Orientation & State 2 30-Jul

KINEMATIC ANALYSIS OF 3 D.O.F OF SERIAL ROBOT FOR INDUSTRIAL APPLICATIONS

Projective geometry for Computer Vision

CALCULATING TRANSFORMATIONS OF KINEMATIC CHAINS USING HOMOGENEOUS COORDINATES

EEE 187: Robotics Summary 2

521466S Machine Vision Exercise #1 Camera models

Lecture Note 3: Rotational Motion

METR 4202: Advanced Control & Robotics

MAT 3271: Selected Solutions to the Assignment 6

EXAM SOLUTIONS. Image Processing and Computer Vision Course 2D1421 Monday, 13 th of March 2006,

Rectification and Distortion Correction

Introduction to Geometric Algebra Lecture V

Homogeneous Coordinates and Transformations of the Plane

Perspective Projection Describes Image Formation Berthold K.P. Horn

Lecture 6 Sections 4.3, 4.6, 4.7. Wed, Sep 9, 2009

CS452/552; EE465/505. Geometry Transformations

C O M P U T E R G R A P H I C S. Computer Graphics. Three-Dimensional Graphics I. Guoying Zhao 1 / 52

Revision Problems for Examination 2 in Algebra 1

14. The Oriented Plane Mechanics of Manipulation

3D Computer Vision II. Reminder Projective Geometry, Transformations

ME 115(a): Final Exam (Winter Quarter 2009/2010)

Perspective Projection in Homogeneous Coordinates

Lecture Note 2: Configuration Space

Game Mathematics. (12 Week Lesson Plan)

Geometry. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

Chapter 2 Kinematics of Mechanisms

DETC APPROXIMATE MOTION SYNTHESIS OF SPHERICAL KINEMATIC CHAINS

1 Affine and Projective Coordinate Notation

UNIT NUMBER 5.2. GEOMETRY 2 (The straight line) A.J.Hobson

SPECIAL TECHNIQUES-II

2D transformations: An introduction to the maths behind computer graphics

Introduction to Homogeneous coordinates

Fundamentals of Robotics Study of a Robot - Chapter 2 and 3

Topic 4: Vectors Markscheme 4.6 Intersection of Lines and Planes Paper 2

THREE DIMENSIONAL GEOMETRY

Practical Linear Algebra: A Geometry Toolbox

Epipolar Geometry and the Essential Matrix

Jacobian: Velocities and Static Forces 1/4

Inverse Kinematics. Given a desired position (p) & orientation (R) of the end-effector

calibrated coordinates Linear transformation pixel coordinates

KINEMATICS OF AN OVERCONSTRAINED MECHANISM IN PRACTICE

Geometry. CS 537 Interactive Computer Graphics Prof. David E. Breen Department of Computer Science

Theory of Robotics and Mechatronics

Structure from Motion. Prof. Marco Marcon

Rational Numbers: Graphing: The Coordinate Plane

Transcription:

Homogeneous coordinates, lines, screws and twists In lecture 1 of module 2, a brief mention was made of homogeneous coordinates, lines in R 3, screws and twists to describe the general motion of a rigid body. Lines were used to represent joint axes and screws was used in connection with the properties A B [T ]. In this write-up, we present a brief description of homogeneous coordinates, mathematical representation of lines, screws, and twists using Plücker coordinates and also present expressions for the angle and distance between two lines. We start with the concept of homogeneous coordinates. Let (x, y) denote the Cartesian co-ordinates of a point in the Euclidean plane E 2 ; then the homogeneous coordinates of the point are given by (x, y, w) E 3 with w 0. One of the key properties of homogeneous coordinates is that scaling does not matter, e,g., the coordinates (x, y, w) and (λx, λy, λw), where λ is a non-zero constant, represent the same point. From elementary mathematics, we know that any point (x, y, z) on a line passing through two points, say A (x 0, y 0, z 0 ) T and A (x 1, y 1, z 1 ) T, in {A} satisfies x x 0 x 0 x 1 = y y 0 y 0 y 1 = z z 0 z 0 z 1 = c (1) where c is an arbitrary non-zero constant. In equation (1), if we consider a line through the origin, i.e., (x 0, y 0, z 0 ) = 0, we get (x, y, z) = c(x 1, y 1, z 1 ). If z is considered the same as w, then the equation of a line through the origin is equivalent to scaling. Hence, homogenous coordinates represent a point in E 2 by a line through the origin in E 3. Likewise, a line in E 2 is a plane through the origin of E 3. To go from homogeneous coordinates to Cartesian coordinates, we simply extract from (x, y, w) the quantities (x/w, y/w) and set w to 1. This implies that the Euclidean plane E 2 with points (x, y) can be embedded as a w = 1 plane and the ordinary Euclidean point (with Cartesian coordinates (x, y)) can be thought of as a line through the origin intersecting the w = 1 plane. In addition to the ordinary Euclidean points, it is possible to have homogeneous coordinates of the form (x, y, 0). These are lines through the origin of E 3 parallel to w = 1 plane. These are called ideal points or points at infinity which can be shown to form a line called the line at infinity. The set of lines through the origin of E 3 defines the projective plane P 2. The projective plane can be thought of as the Euclidean plane E 2 to which we have added points at infinity. In this form, the projective plane has the interesting property of duality which states that in every axiom we can replace point by line and still make perfect sense without any exceptions. 1

For example, we can say two points determine a line or two lines determine a point. We can also state two parallel lines meet at infinity without any mathematical problem. The projective space P 2 is one of the fundamental concepts in geometry and, as we will see in Module 3, allows us to correctly count the number of solutions of non-linear equations. The concept of a projective space is also useful in theoretical kinematics since the 4 1 homogeneous coordinates and the 4 4 transformation matrices of Lecture 1 can be put on a more formal footing. The 4 1 vector obtained by appending a 1 to (x, y, z) T are obtained from the homogeneous coordinates (x, y, z, w) T by setting w = 1. Similar to the discussion above we can also have points at infinity for w = 0. One difference between P 2 earlier and P 3 is that now the axioms and the notion of duality involve points, lines, and planes. In equation (1), instead of three equations, we can also represent the line as L = A (x 0, y 0, z 0 ) T + t ˆQ A (2) where t is an arbitrary constant and ˆQ A is a unit vector from A (x 0, y 0, z 0 ) T to A (x 1, y 1, z 1 ) T in the coordinate system {A}. In addition, the point A (x 0, y 0, z 0 ) T need not have three independent parameters. Since the line extends to infinity in both directions, along the line, we can choose the point A (x 0, y 0, z 0 ) T as the point where the line intersects any of the three coordinate planes (x = 0 or y = 0 or z = 0). Hence, a line in R 3 can be described by four independent parameters. We represent a line by a pair of vectors of the form ( A Q ; A Q 0 ) where A Q is the direction vector and A Q 0 is the moment vector given by A Q 0 = A r A Q (3) where A r locates a point on the line. It can be shown that A Q 0 is independent of the chosen point on the line. The vector pair ( A Q ; A Q 0 ) are the six Plücker coordinates of a line in R 3. It may be noted that there are only four independent parameters since A Q A Q 0 = 0 and c( A Q ; A Q 0 ) (c R 1 0) is the same line as ( A Q ; A Q 0 ). Since, the Plücker coordinates of a line are unchanged by scaling, they are homogeneous coordinates. Hence, similar to choosing w = 1 in the case of points, as long as A Q 0, we can represent lines in R 3 by a unit vector and its moment as ˆQ A = A Q A Q A ˆQ 0 = A r ˆQ A (4) 2

Note that the vector pair ( ˆQ A ; A ˆQ 0 ) has four independent parameters. A Ẑ 2 A Ẑ 1 Ẑ A {A} α 1 {1} A ˆX1 A O 1 a 1 O A Ŷ A L 2 L 1 ˆX A Figure 1: Line in R 3 The Denavit-Hartenberg parameters, discussed in Lecture 2, are based on the notion of distance and angle between lines in three-dimensional space. In the following, we present analytical expressions for the common perpendicular, angle and distance between two lines in R 3. These expressions can be used to compute numerical values of D-H parameters from a CAD model of a robot. We assume that the two lines L 1 and L 2, as shown in figure 1, are described by the vector pairs ( A Ẑ 1 ; A Ẑ 01 ) and ( A Ẑ 2 ; A Ẑ 02 ), respectively. The unit vector along the common perpendicular is given by A ˆX1 = A Ẑ 1 A Ẑ 2 (5) It may be noted that the unit vector A ˆX1 is from L 1 to L 2. If L 1 and L 2 intersect, then the unit vector A ˆX1 is normal to the plane formed by the two intersecting lines, and there are two choices for the direction of A ˆX1. If the lines are parallel, the common perpendicular is not unique and the vector cross-product in equation (5) is zero. For this case any line perpendicular to L 1 and L 2 is a common perpendicular. 3

The angle between the two lines is α 1 = cos 1 ( A Ẑ 1 A Ẑ 2 ), 0 α 1 π (6) The angle α 1 can also be negative, ( π α 1 0), and we can choose the correct sign by ensuring that the angle is measured from A Ẑ 1 to A Ẑ 2 about A ˆX1 using the right-hand rule. If the two lines are parallel, the angle is 0 or π. The shortest distance is along the common perpendicular and is given by a 1 = A Ẑ 1 AẐ 02 + A Ẑ 2 AẐ 01 (7) If the lines L 1 and L 2 intersect, then a 1 is zero. If the lines are parallel, the length of any of the common perpendiculars is a 1. The point of intersection of the common perpendicular line with L 1 can be obtained by solving simultaneously the equations of line L 1 and the plane formed by line L 2 and the common perpendicular line. Denoting the point by the vector A O 1, we have A O 1 = (A ˆX1 AẐ 02 ) A Ẑ 1 A Ẑ 01 ( A Ẑ 2 A ˆX1 ) (8) The moment vector A ˆX 01 can be obtained by noting that the distances between L 1, L 2 and the common perpendicular are zero, and A ˆX 01 A ˆX1 = 0. The vector A ˆX 01 is given by A X 01 = [{cos α 1 A Ẑ 02 A Ẑ 01 } A ˆX1 ] A Ẑ 1 +[{cos α 1 A Ẑ 01 A Ẑ 02 } A ˆX1 ] A Ẑ 2 (9) The lines ( A ˆX1 ; A ˆX 01 ), ( A Ẑ 1 ; A Ẑ 0 1) and their point of intersection, A O 1, completely determine the coordinate system {1} with respect to the fixed coordinate system {A}. A screw S with respect to {A} can be specified by a line and a pitch denoted by h. The screw coordinates denoted by ( A S ; A S 0 ) are defined as A S = A Q A S 0 = A Q 0 + h A Q (10) The pitch can be obtained from a given ( A S ; A S 0 ) by h = A S AS 0 A S AS 4 (11)

Since a line has four independent parameters, a screw has five independent parameters. If the pitch h is zero, the screw coordinates are the same as the line coordinates. A screw has infinite pitch if A S = 0. A screw is an element of P 5. A twist is a six-dimensional entity which completely describes the motion of a rigid body in R 3. It can be thought of as a screw with a magnitude. Denoting a twist by V, we can write ( A S A ) V = c A S ; S 0 A, c R 1 (12) S In terms of (normalized) line coordinates, we can write ( V = c ˆQA ; A ˆQ 0 + h ˆQ ) A, c R 1 (13) The six independent parameters are the four in normalized line coordinates ( ˆQ A ; A ˆQ 0 ), the pitch h, and the magnitude c. A twist of zero pitch is pure rotation and is of the form θ( ˆQ A ; A ˆQ 0 ) where θ is the amount of rotation. A twist of infinite pitch is a pure translation and is of the form (0; d ˆQ A ), where d is the amount of translation. 5