Rotations and Translations 1. Mathematical terms The inner product of 2 vectors a,b is defined as: The cross product of 2 vectors is defined as: A unit.

Slides:



Advertisements
Similar presentations
Principles of Computer-Aided Design and Manufacturing Second Edition 2004 ISBN Author: Prof. Farid. Amirouche University of Illinois-Chicago.
Advertisements

Computer Graphics Lecture 4 Geometry & Transformations.
Denavit-Hartenberg Convention
Kinematic Modelling in Robotics
Kinematics Pose (position and orientation) of a Rigid Body
3D Kinematics Eric Whitman 1/24/2010. Rigid Body State: 2D p.
The Concepts of Orientation/Rotation ‘Transformations’ ME Lecture Series 2 Fall 2011, Dr. R. Lindeke 1.
Chapter 4.1 Mathematical Concepts
Linear Algebra and SVD (Some slides adapted from Octavia Camps)
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry Trigonometric functions Defined using right triangle  x y h.
Ch. 2: Rigid Body Motions and Homogeneous Transforms
Ch. 4: Velocity Kinematics
3-D Geometry.
Introduction to Robotics Lecture II Alfred Bruckstein Yaniv Altshuler.
Math for CSLecture 11 Mathematical Methods for Computer Science Lecture 1.
Rotations and Translations. Representing a Point 3D A tri-dimensional point A is a reference coordinate system here.
Screw Rotation and Other Rotational Forms
CAP4730: Computational Structures in Computer Graphics
2D Transformations. World Coordinates Translate Rotate Scale Viewport Transforms Hierarchical Model Transforms Putting it all together.
Geometric Objects and Transformations Geometric Entities Representation vs. Reference System Geometric ADT (Abstract Data Types)
Mathematical Fundamentals
Rotations and Translations
Chapter 4.1 Mathematical Concepts
Vectors A vector is a quantity that is characterized by both magnitude and direction. Vectors are represented by arrows. The length of the arrow represents.
Geometric Transformation. So far…. We have been discussing the basic elements of geometric programming. We have discussed points, vectors and their operations.
15/09/2015handout 31 Robot Kinematics Logics of presentation: Kinematics: what Coordinate system: way to describe motion Relation between two coordinate.
CS 480/680 Computer Graphics Transformations Dr. Frederick C Harris, Jr.
Chapter 2 Robot Kinematics: Position Analysis
Lecture Notes: Computer Graphics.
Rotations and Translations
Transformations Jehee Lee Seoul National University.
Geometric Transformations
Warm Up 1. Reflect the preimage using y=x as the line of reflection given the following coordinates: A(-2, 4), B(-4, -2), C(-5, 6) 2. Rotate the figure.
Spatial Descriptions and Transformations Sebastian van Delden USC Upstate
T. Bajd, M. Mihelj, J. Lenarčič, A. Stanovnik, M. Munih, Robotics, Springer, 2010 GEOMETRIC DESCRIPTION OF THE ROBOT MECHANISM T. Bajd and M. Mihelj.
Robot Kinematics: Position Analysis 2.1 INTRODUCTION  Forward Kinematics: to determine where the robot ’ s hand is? (If all joint variables are known)
Geometrical Transformations 2 Adapted from Fundamentals of Interactive Computer Graphics, Foley and van Dam, pp , by Geb Thomas.
What is Kinematics. Kinematics studies the motion of bodies.
Chun-Yuan Lin Mathematics for Computer Graphics 2015/12/15 1 CG.
Chapter 2: Description of position and orientation Faculty of Engineering - Mechanical Engineering Department ROBOTICS Outline: Introduction. Descriptions:
Geometric Transformations UBI 516 Advanced Computer Graphics Aydın Öztürk
Fall 2004CS-321 Dr. Mark L. Hornick 1 2-D Transformations World Coordinates Local/Modelling Coordinates x y Object descriptions Often defined in model.
FROM PARTICLE TO RIGID BODY.
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.
Computer Graphics Lecture 11 2D Transformations I Taqdees A. Siddiqi
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry "Old Henry And His Old Aunt" Defined using right triangle  x y h.
Robotic Arms and Matrices By Chris Wong and Chris Marino.
Robotics Chapter 3 – Forward Kinematics
Representation of scene motion
HOMOGENEOUS REPRESENTATION
Spatcial Description & Transformation
Ch. 2: Rigid Body Motions and Homogeneous Transforms
PROPERTIES OF THE JACOBIAN
Rigid Body transformation Lecture 1
Scalars and Vectors.
ROTATIONS & TRANSLATIONS
Mobile Robot Kinematics
CHAPTER 2 FORWARD KINEMATIC 1.
Chapter IV Spaces and Transforms
CPSC 452 Spatial Descriptions and Coordinate Transform
Rigid Body Transformations
A definition we will encounter: Groups
Derivation of the 2D Rotation Matrix
Transformations.
Linear Algebra A gentle introduction
Rigid Body Transformations
Translation in Homogeneous Coordinates
Presentation transcript:

Rotations and Translations 1

Mathematical terms The inner product of 2 vectors a,b is defined as: The cross product of 2 vectors is defined as: A unit vector will be marked as: 2

Representing a Point 3D A three-dimensional point A is a reference coordinate system here 3

Representing a Point 3D (cont.) Once a coordinate system is fixed, we can locate any point in the universe with a 3x1 position vector. The components of P in {A} have numerical values which indicate distances along the axes of {A}. To describe the orientation of a body we will attach a coordinate system to the body and then give a description of this coordinate system relative to the reference system. 4

Example 5

Description of Orientation is a unit vector in B is a coordinate of a unit vector of B in coordinates system A (i.e. the projection of onto the unit direction of its reference) 6

Example Rotating B relative to A around Z by 7

Example In general: 8

Using Rotation Matrices 9

Translation 10

Combining Rotation and Translation 11

What is a Frame ? A set of four vectors giving position and orientation information. The description of the frame can be thought as a position vector and a rotation matrix. Frame is a coordinate system, where in addition to the orientation we give a position vector which locates its origin relative to some other embedding frame. 12

Arrows Convention An Arrow - represents a vector drawn from one origin to another which shows the position of the origin at the head of the arrow in terms of the frame at the tail of the arrow. The direction of this locating arrow tells us that {B} is known relative to {A} and not vice versa. 13

R otating a frame B relative to a frame A about Z axis by degrees and moving it 10 units in direction of X and 5 units in the direction of Y. What will be the coordinates of a point in frame A if in frame B the point is : [3, 7, 0] T ? Example 14

Extension to 4x4 We can define a 4x4 matrix operator and use a 4x1 position vector 15

Example If we use the above example we can see that: 16

P in the coordinate system A 17

Formula 18

Compound Transformation 19

Several Combinations 20

Example Rotating a frame B relative to a frame A about Z axis by degrees and moving it 1 units in direction of X and 2 units in the direction of Y. What will be ? 21

Example cont - 2 We create a homogeneous transformation using the function se2: T1 = se2(1, 2, 30*pi/180) T1 = Note that this is a 2D matrix, we eliminate the z axis 22

Example cont - 3 We can also plot this, relative to the world coordinate frame, by: >> axis([ ]); >>trplot2(T1, 'frame', '1', 'color', 'b') 23

Example cont - 4 We can plot a point by: >> P = [3; 2]; >> plot_point(P, ‘*’); 24

Example cont - 5 Now we got something like this: The point P is known with respect to {0} We want to determine the coordination of point P with respect to {1} 25

Example cont - 6 What do we know ? But… >> P1 = inv(T1)* [P; 1] >> P1 = h2e( inv(T1) * e2h(P) ); h2e: homogenous to euclidean 26

Example cont - 7 This also can be achieved by: >> homtrans(inv(T1), P) 27

Example Rotating a frame B relative to a frame A about Z axis by degrees and moving it 10 units in direction of X and 5 units in the direction of Y. What will be the coordinates of a point in frame A if in frame B the point is : [3, 7, 0] T ? >> T = se2(10,5,30*pi/180) >> P = [3;7;1] >> P2 = T*P >> P = inv(T)*P2 28

Notes Homogeneous transforms are useful in writing compact equations; a computer program would not use them because of the time wasted multiplying ones and zeros. This representation is mainly for our convenience. For the details turn to chapter 2. 29