Ch. 2: Rigid Body Motions and Homogeneous Transforms

Slides:



Advertisements
Similar presentations
Arbitrary Rotations in 3D Lecture 18 Wed, Oct 8, 2003.
Advertisements

Kinematic Modelling in Robotics
1 ME 302 DYNAMICS OF MACHINERY Dynamic Force Analysis IV Dr. Sadettin KAPUCU © 2007 Sadettin Kapucu.
Kinematics Pose (position and orientation) of a Rigid Body
Chris Hall Aerospace and Ocean Engineering
1 Computer Graphics Chapter 6 2D Transformations.
3D Kinematics Eric Whitman 1/24/2010. Rigid Body State: 2D p.
2D Geometric Transformations
The City College of New York 1 Dr. Jizhong Xiao Department of Electrical Engineering City College of New York Kinematics of Robot Manipulator.
Ch. 4: Velocity Kinematics
3-D Geometry.
Ch. 3: Forward and Inverse Kinematics
Introduction to ROBOTICS
Introduction to ROBOTICS
Screw Rotation and Other Rotational Forms
The linear algebra of Canadarm
ME/ECE Professor N. J. Ferrier Forward Kinematics Professor Nicola Ferrier ME Room 2246,
1 C01 – Advanced Robotics for Autonomous Manipulation Department of Mechanical EngineeringME 696 – Advanced Topics in Mechanical Engineering.
1 Kinematics ( 運動學 ) Primer Jyun-Ming Chen Fall 2009.
Rotations and Translations
1 February 24 Matrices 3.2 Matrices; Row reduction Standard form of a set of linear equations: Chapter 3 Linear Algebra Matrix of coefficients: Augmented.
3D Kinematics Consists of two parts 3D rotation 3D translation  The same as 2D 3D rotation is more complicated than 2D rotation (restricted to z- axis)
Kinematics of Robot Manipulator
Chapter 2 Robot Kinematics: Position Analysis
Geometric Transformations Jehee Lee Seoul National University.
Rotations and Translations
CSE 681 Review: Transformations. CSE 681 Transformations Modeling transformations build complex models by positioning (transforming) simple components.
Transformations Jehee Lee Seoul National University.
K INEMATICS P OSE ( POSITION AND ORIENTATION ) OF A R IGID B ODY University of Bridgeport 1 Introduction to ROBOTICS.
Sect 5.4: Eigenvalues of I & Principal Axis Transformation
Kinematics of Robot Manipulator
POSITION & ORIENTATION ANALYSIS. This lecture continues the discussion on a body that cannot be treated as a single particle but as a combination of a.
1 Fundamentals of Robotics Linking perception to action 2. Motion of Rigid Bodies 南台科技大學電機工程系謝銘原.
Mon 30 July 2007 Overview of the course
Jinxiang Chai CSCE441: Computer Graphics 3D Transformations 0.
Jinxiang Chai Composite Transformations and Forward Kinematics 0.
Chapter 2 Rigid Motions and Coordinate Transformations
Kinematics Primer Jyun-Ming Chen. Contents General Properties of Transform 2D and 3D Rigid Body Transforms Representation Computation Conversion … Transforms.
EEE. Dept of HONG KONG University of Science and Technology Introduction to Robotics Page 1 Lecture 2. Rigid Body Motion Main Concepts: Configuration Space.
Rotation and Orientation: Fundamentals Jehee Lee Seoul National University.
Transformation.
Kinematics. The function of a robot is to manipulate objects in its workspace. To manipulate objects means to cause them to move in a desired way (as.
Chapter 2: Description of position and orientation Faculty of Engineering - Mechanical Engineering Department ROBOTICS Outline: Introduction. Descriptions:
Comparing Two Motions Jehee Lee Seoul National University.
3D Transformation A 3D point (x,y,z) – x,y, and z coordinates
Geometric Transformations UBI 516 Advanced Computer Graphics Aydın Öztürk
FROM PARTICLE TO RIGID BODY.
Affine Geometry.
Euler Angles This means, that we can represent an orientation with 3 numbers Assuming we limit ourselves to 3 rotations without successive rotations about.
Coordinate Systems and Transformations
Jinxiang Chai CSCE441: Computer Graphics 3D Transformations 0.
EE 495 Modern Navigation Systems Navigation Mathematics Rotation Matrices – Part II Wednesday, Jan 14 EE 495 Modern Navigation Systems Slide 1 of 21.
INTRODUCTION TO DYNAMICS ANALYSIS OF ROBOTS (Part 1)
End effector End effector - the last coordinate system of figure Located in joint N. But usually, we want to specify it in base coordinates. 1.
Graphics Graphics Korea University kucg.korea.ac.kr Mathematics for Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
MASKS © 2004 Invitation to 3D vision Lecture 6 Introduction to Algebra & Rigid-Body Motion Allen Y. Yang September 18 th, 2006.
Sect. 4.5: Cayley-Klein Parameters 3 independent quantities are needed to specify a rigid body orientation. Most often, we choose them to be the Euler.
Kinematics 제어시스템 이론 및 실습 조현우
Spatcial Description & Transformation
3D Kinematics Consists of two parts
Ch. 2: Rigid Body Motions and Homogeneous Transforms
3. Transformation
Lecture 3 Jitendra Malik
Homogeneous Coordinates (Projective Space)
Mobile Robot Kinematics
CHAPTER 2 FORWARD KINEMATIC 1.
Rigid Body Transformations
Chapter 2 Mathematical Analysis for Kinematics
Rigid Body Transformations
Rotation and Orientation: Fundamentals
Presentation transcript:

Ch. 2: Rigid Body Motions and Homogeneous Transforms ES159/259

Representing position 02_01 Representing position Definition: coordinate frame A set n of orthonormal basis vectors spanning Rn For example, When representing a point p, we need to specify a coordinate frame With respect to o0: With respect to o1: v1 and v2 are invariant geometric entities But the representation is dependant upon choice of coordinate frame 02_01.jpg ES159/259

02_02 Rotations 2D rotations Representing one coordinate frame in terms of another Where the unit vectors are defined as: This is a rotation matrix 02_02.jpg ES159/259

02_02 Alternate approach Rotation matrices as projections Projecting the axes of from o1 onto the axes of frame o0 02_02.jpg ES159/259

Properties of rotation matrices 02_03 Properties of rotation matrices Inverse rotations: Or, another interpretation uses odd/even properties: 02_03.jpg Projections (dot products) commute ES159/259

Properties of rotation matrices 02_03 Properties of rotation matrices Inverse of a rotation matrix: The determinant of a rotation matrix is always ±1 +1 if we only use right-handed convention 02_03.jpg Projections (dot products) commute ES159/259

Properties of rotation matrices 02_03 Properties of rotation matrices Summary: Columns (rows) of R are mutually orthogonal Each column (row) of R is a unit vector The set of all n x n matrices that have these properties are called the Special Orthogonal group of order n 02_03.jpg ES159/259

02_03 3D rotations General 3D rotation: Special cases Basic rotation matrices 02_03.jpg ES159/259

Properties of rotation matrices (cont’d) 02_03 Properties of rotation matrices (cont’d) SO(3) is a group under multiplication Closure: Identity: Inverse: Associativity: In general, members of SO(3) do not commute Allows us to combine rotations: 02_03.jpg ES159/259

Rotational transformations 02_05 Rotational transformations Now assume p is a fixed point on the rigid object with fixed coordinate frame o1 The point p can be represented in the frame o0 (p0) again by the projection onto the base frame 02_05.jpg ES159/259

02_07 Rotating a vector Another interpretation of a rotation matrix: Rotating a vector about an axis in a fixed frame Ex: rotate v0 about y0 by p/2 02_07.jpg ES159/259

Rotation matrix summary 02_07 Rotation matrix summary Three interpretations for the role of rotation matrix: Representing the coordinates of a point in two different frames Orientation of a transformed coordinate frame with respect to a fixed frame Rotating vectors in the same coordinate frame 02_07.jpg ES159/259

Similarity transforms 02_07 Similarity transforms All coordinate frames are defined by a set of basis vectors These span Rn Ex: the unit vectors i, j, k In linear algebra, a n x n matrix A is a mapping from Rn to Rn y = Ax, where y is the image of x under the transformation A Think of x as a linear combination of unit vectors (basis vectors), for example the unit vectors: Then the columns of A are the images of these basis vectors If we want to represent vectors with respect to a different basis, e.g.: f1, …, fn, the transformation A can be represented by: Where the columns of T are the vectors f1, …, fn, 02_07.jpg Inv(T)AT is called a similarity transformation ES159/259

Similarity transforms 02_07 Similarity transforms A’ and A have the same eigenvalues An eigenvector x of A corresponds to an eigenvector T-1x of A’ Rotation matrices are also a change of basis If A is a linear transformation in o0 and B is a linear transformation in o1, then they are related as follows: Ex: the frames o0 and o1 are related as follows: If the matrix A is also a rotation matrix Rz,q (relative to o0) the rotation expressed in o1 is: 02_07.jpg ES159/259

Compositions of rotations 02_08 Compositions of rotations w/ respect to the current frame Ex: three frames o0, o1, o2 This defines the composition law for successive rotations about the current reference frame: post-multiplication 02_08.jpg ES159/259

Compositions of rotations 02_08 Compositions of rotations Ex: R represents rotation about the current y-axis by f followed by q about the current z-axis What about the reverse order? 02_08.jpg ES159/259

Compositions of rotations 02_09 Compositions of rotations w/ respect to a fixed reference frame (o0) Let the rotation between two frames o0 and o1 be defined by R10 Let R be a desired rotation w/ respect to the fixed frame o0 Using the definition of a similarity transform, we have: This defines the composition law for successive rotations about a fixed reference frame: pre-multiplication 02_09.jpg ES159/259

Compositions of rotations 02_09 Compositions of rotations Ex: we want a rotation matrix R that is a composition of f about y0 (Ry,f) and then q about x0 (Rx,q) the second rotation needs to be projected back to the initial fixed frame Now the combination of the two rotations is: 02_09.jpg Basically, we are using the same lab for rotation about the current frame, with subsequent rotations transformed back to the initial (fixed) frame ES159/259

Compositions of rotations 02_09 Compositions of rotations Summary: Consecutive rotations w/ respect to the current reference frame: Post-multiplying by successive rotation matrices w/ respect to a fixed reference frame (o0) Pre-multiplying by successive rotation matrices We can also have hybrid compositions of rotations with respect to the current and a fixed frame using these same rules 02_09.jpg ES159/259

Parameterizing rotations 02_10 Parameterizing rotations There are three parameters that need to be specified to create arbitrary rigid body rotations We will describe three such parameterizations: Euler angles Roll, Pitch, Yaw angles Axis/Angle 02_10.jpg ES159/259

Parameterizing rotations 02_10 Parameterizing rotations Euler angles Rotation by f about the z-axis, followed by q about the current y-axis, then y about the current z-axis 02_10.jpg ES159/259

Parameterizing rotations 02_11 Parameterizing rotations Roll, Pitch, Yaw angles Three consecutive rotations about the fixed principal axes: Yaw (x0) y, pitch (y0) q, roll (z0) f 02_11.jpg ES159/259

Parameterizing rotations 02_12 Parameterizing rotations Axis/Angle representation Any rotation matrix in SO(3) can be represented as a single rotation about a suitable axis through a set angle For example, assume that we have a unit vector: Given q, we want to derive Rk,q: Intermediate step: project the z-axis onto k: Where the rotation R is given by: 02_12.jpg ES159/259

Parameterizing rotations 02_12 Parameterizing rotations Axis/Angle representation This is given by: Inverse problem: Given arbitrary R, find k and q 02_12.jpg ES159/259

Alternative approach Rotation matrices in SO(3) can be derived using an alternate method using the matrix exponential Assume that you have a unit vector, w, that represents an axis of rotation Take a vector q(t) and rotate it about w with unity velocity This gives: Where the ‘cross-product’ matrix is given as follows: Now integrate to find the vector q(t): Rotating for q units of time gives: Thus the rotation about w can be represented by the matrix exponential For notation, we can call: ES159/259

Rigid motions Rigid motion is a combination of rotation and translation Defined by a rotation matrix (R) and a displacement vector (d) the group of all rigid motions (d,R) is known as the Special Euclidean group, SE(3) Consider three frames, o0, o1, and o2 and corresponding rotation matrices R21, and R10 Let d21 be the vector from the origin o1 to o2, d10 from o0 to o1 For a point p2 attached to o2, we can represent this vector in frames o0 and o1: ES159/259

Homogeneous transforms We can represent rigid motions (rotations and translations) as matrix multiplication Define: Now the point p2 can be represented in frame o0: Where the P0 and P1 are: ES159/259

Homogeneous transforms The matrix multiplication H is known as a homogeneous transform and we note that Inverse transforms: Note that H is in SE(3) but it is a 4x4 matrix ES159/259

Homogeneous transforms Basic transforms: 1-Three pure translation z1 y1 z X A B z0 x1 y1 x0 y0

Homogeneous transforms Basic transforms: 2- Three pure rotation ES159/259

Exercise 1 For the following fig Exercise 1 For the following fig. Determine 1- BTA 2- DTA 3- FTA and ATF y z F 300 B y 5 mm 10 mm z 3 mm A D y