Kinematics Primer Jyun-Ming Chen. Contents General Properties of Transform 2D and 3D Rigid Body Transforms Representation Computation Conversion … Transforms.

Slides:



Advertisements
Similar presentations
Computer Graphics Lecture 4 Geometry & Transformations.
Advertisements

3-D Homogeneous Transformations.  Coordinate transformation (translation+rotation) 3-D Homogeneous Transformations.
Links and Joints.
Denavit-Hartenberg Convention
CS B659: Principles of Intelligent Robot Motion Rigid Transformations.
Kinematics Pose (position and orientation) of a Rigid Body
Chris Hall Aerospace and Ocean Engineering
3D Kinematics Eric Whitman 1/24/2010. Rigid Body State: 2D p.
1 Geometrical Transformation 2 Outline General Transform 3D Objects Quaternion & 3D Track Ball.
Computer Graphics Recitation 2. 2 The plan today Learn about rotations in 2D and 3D. Representing rotations by quaternions.
Ch. 2: Rigid Body Motions and Homogeneous Transforms
3-D Geometry.
3D orientation.
CSCE 689: Computer Animation Rotation Representation and Interpolation
CSCE 441: Computer Graphics Rotation Representation and Interpolation
CSCE 641: Computer Graphics Rotation Representation and Interpolation Jinxiang Chai.
Introduction to ROBOTICS
Transformations CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
Introduction to ROBOTICS
3D Graphics Goal: To produce 2D images of a mathematically described 3D environment Issues: –Describing the environment: Modeling (mostly later) –Computing.
An Introduction to Robot Kinematics
CS I400/B659: Intelligent Robotics Rigid Transformations.
Forward Kinematics and Jacobians Kris Hauser CS B659: Principles of Intelligent Robot Motion Spring 2013.
INTRODUCTION TO DYNAMICS ANALYSIS OF ROBOTS (Part 5)
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.
Advanced Graphics (and Animation) Spring 2002
1 Kinematics ( 運動學 ) Primer Jyun-Ming Chen Fall 2009.
Rotations and Translations
COS 397 Computer Graphics Svetla Boytcheva AUBG, Spring 2013.
Math Primer for CG Ref: Interactive Computer Graphics, Chap. 4, E. Angel.
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)
CS 480/680 Computer Graphics Representation Dr. Frederick C Harris, Jr. Fall 2012.
CS 480/680 Computer Graphics Transformations Dr. Frederick C Harris, Jr.
Computer Graphics Bing-Yu Chen National Taiwan University.
Rotations and Translations
Transformations Jehee Lee Seoul National University.
Rick Parent - CIS681 ORIENTATION Use Quaternions Interpolating rotations is difficult.
1 Fundamentals of Robotics Linking perception to action 2. Motion of Rigid Bodies 南台科技大學電機工程系謝銘原.
3D Kinematics Consists of two parts
Jinxiang Chai CSCE441: Computer Graphics 3D Transformations 0.
Jinxiang Chai Composite Transformations and Forward Kinematics 0.
Geometric Objects and Transformation
Kinematics Jehee Lee Seoul National University. Kinematics How to animate skeletons (articulated figures) Kinematics is the study of motion without regard.
EEE. Dept of HONG KONG University of Science and Technology Introduction to Robotics Page 1 Lecture 2. Rigid Body Motion Main Concepts: Configuration Space.
Geometrical Transformations 2 Adapted from Fundamentals of Interactive Computer Graphics, Foley and van Dam, pp , by Geb Thomas.
Transformation.
What is Kinematics. Kinematics studies the motion of bodies.
Comparing Two Motions Jehee Lee Seoul National University.
3D Transformation A 3D point (x,y,z) – x,y, and z coordinates
INTRODUCTION TO DYNAMICS ANALYSIS OF ROBOTS (Part 4)
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 3: Transformations 1
Composite 3D Transformations. Example of Composite 3D Transformations Try to transform the line segments P 1 P 2 and P 1 P 3 from their start position.
KINEMATICS ANALYSIS OF ROBOTS (Part 5). This lecture continues the discussion on the analysis of the forward and inverse kinematics of robots. After this.
Euler Angles This means, that we can represent an orientation with 3 numbers Assuming we limit ourselves to 3 rotations without successive rotations about.
Computer Graphics I, Fall 2010 Transformations.
Forward Kinematics Where is my hand ?. Examples Denavit-Hartenberg Specialized description of articulated figures (joints) Each joint has only one degree.
COMP322/S2000/L111 Inverse Kinematics Given the tool configuration (orientation R w and position p w ) in the world coordinate within the work envelope,
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Transformations Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
INTRODUCTION TO DYNAMICS ANALYSIS OF ROBOTS (Part 2)
Robotics Chapter 3 – Forward Kinematics
Objectives Introduce standard transformations Introduce standard transformations Derive homogeneous coordinate transformation matrices Derive homogeneous.
Representation of scene motion
3D Kinematics Consists of two parts
Ch. 2: Rigid Body Motions and Homogeneous Transforms
ROTATIONS & TRANSLATIONS
Mobile Robot Kinematics
CSE4421/5324: Introduction to Robotics
(c) University of Wisconsin, CS559
Presentation transcript:

Kinematics Primer Jyun-Ming Chen

Contents General Properties of Transform 2D and 3D Rigid Body Transforms Representation Computation Conversion … Transforms for Hierarchical Objects

Math Primer

Kinematic Modeling Two interpretations of transform “ Global ” :  An operator that “ displaces ” a point (or set of points) to desired location “ Local ” :  specify where objects are placed in WCS by moving the local frame Next, explain these concepts via 2D translation Verify that the same holds for rotation, 3D, …

Ex: 2D translation x y p The transform, as an operator, takes p to p ’, thus changing the coordinate of p: Tr(t) p = p ’ p’p’ Tr(t)

Ex: 2D translation (cont) p’p’ x y x’x’ y’y’ p The transform moves the xy-frame to x ’ y ’ -frame and the point is placed with the same local coordinate. To determine the corresponding position of p ’ in xy-frame: Tr(t)

Properties of Transform Transforms are usually not commutable T a T b p  T b T a p (in general) Rigid body transform: the ones preserving the shape Two types:  rotation rot(n,  )  translation tr(t) Rotation axis n passes thru origin

Rigid Body Transform transforming a point/object rot(n,  ) p; tr(t) p not commutable rot(n,  ) tr(t) p  tr(t) rot(n,  ) p two interpretations (local vs. global axes)

2D Kinematics Rigid body transform only consists of Tr(x,y) Rot(z,  ) Computation: 3x3 matrix is sufficient

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) Next, we will discuss the treatment for spatial (3D) rotation

3D Rotation Representations Axis-angle 3X3 rotation matrix Unit quaternion Learning Objectives Representation Perform rotation Composition Interpolation Conversion among representations …

Axis-Angle Representation Rot(n,  ) n: rotation axis (global)  : rotation angle (rad. or deg.) follow right-handed rule Perform rotation Rodrigues formula Interpolation/Composition: poor Rot(n 2,  2 )Rot(n 1,  1 ) =?= Rot(n 3,  3 )

Rodrigues Formula v ’ =R v  r v v’v’

Rodrigues (cont) tations.pdf pipeline/assignments/as5/rotation.html

Rotation Matrix Meaning of three columns Perform rotation: linear algebra Composition: trivial orthogonalization might be required due to FP errors Interpolation: ?

Gram-Schmidt Orthogonalization If 3x3 rotation matrix no longer orthonormal, metric properties might change! Verify!

Quaternion A mathematical entity invented by Hamilton Definition i j k

Quaternion (cont) Operators Addition Multiplication Conjugate Length

Unit Quaternion Define unit quaternion as follows to represent rotation Example Rot(z,90°)  Why “ unit ” ? DOF point of view!

Unit Quaternion (cont) Perform Rotation Composition Interpolation

Example x y,x ’ z,z ’ y’y’ Rot(z,90°) p(2,1,1)

Example (cont)

Example x y,x ’ z,z ’ y’y’ x,x ’ y z,y ’ z’z’

Spatial Displacement Any displacement can be decomposed into a rotation followed by a translation Matrix Quaternion

Hierarchical Objects For modeling articulated objects Robots, mechanism, … Goals: Draw it Given the configuration, able to compute the (global) coordinate of every point on body

Ex: Two-Link Arm (2D) Configuration Link 1: Box (6,1); bend 45 deg Link 2: Box (8,1); bend 30 deg Goals: Draw it find tip position x y x y

Ex: Two-Link Arm Tr(0,6) Rot(z,45) Rot(z,30) Tip pos:(0,8) Tip Position: T for link1: Rot(z,45) Tr(0,6) Rot(z,30) T for link2: Rot(z,45)

Ex: Two-Link Arm Rot(z,45) x’x’ y’y’ Tr(0,6 ’ ) x”x” y”y” Rot(z ”,30) Tip pos:(0 ’”,8 ’” ) x ”’ y ’” Thus, two views are equivalent The latter might be easier to visualize.

Ex: Two-Link Arm (VRML syntax) Transform { rotation children Link1 Transform { translation children Transform { rotation children Link2 }

Classes in Javax.vecmath Conversion Methods:

Exercises Study the references of Rodrigues formula Verify equivalence of these 2 ref ’ s Compute inverse Rodrigues formula