Rotations and Translations

Slides:



Advertisements
Similar presentations
John C. Hart CS 318 Interactive Computer Graphics
Advertisements

Kinematics Pose (position and orientation) of a Rigid Body
3D Kinematics Eric Whitman 1/24/2010. Rigid Body State: 2D p.
Geometric Transformation & Projective Geometry
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 : “shiv rpi” Linear Algebra A gentle introduction Linear Algebra has become as basic and as applicable.
Chapter 4.1 Mathematical Concepts
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
Spatial Descriptions and Transformations Introduction to Motion
3D Coordinate Systems and Transformations Revision 1
CSCE 590E Spring 2007 Basic Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
Ch. 4: Velocity Kinematics
3-D Geometry.
3D orientation.
Basic Math Vectors and Scalars Addition/Subtraction of Vectors Unit Vectors Dot Product.
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.
Rotations and Translations. Representing a Point 3D A tri-dimensional point A is a reference coordinate system here.
MSU CSE 803 Fall 2008 Stockman1 CV: 3D sensing and calibration Coordinate system changes; perspective transformation; Stereo and structured light.
Transformations CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
Orientations Goal: –Convenient representation of orientation of objects & characters in a scene Applications to: – inverse kinematics –rigid body simulation.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Technical Background.
ME/ECE Professor N. J. Ferrier Forward Kinematics Professor Nicola Ferrier ME Room 2246,
Mathematical Fundamentals
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.
Chapter 4.1 Mathematical Concepts
Geometric Transformation. So far…. We have been discussing the basic elements of geometric programming. We have discussed points, vectors and their operations.
CS 480/680 Computer Graphics Transformations Dr. Frederick C Harris, Jr.
Kinematics of Robot Manipulator
Elementary Linear Algebra Anton & Rorres, 9th Edition
Chapter 2 Robot Kinematics: Position Analysis
Lecture Notes: Computer Graphics.
Rotations and Translations
CSE 681 Review: Transformations. CSE 681 Transformations Modeling transformations build complex models by positioning (transforming) simple components.
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.
Transformations Jehee Lee Seoul National University.
Rick Parent - CIS681 ORIENTATION Use Quaternions Interpolating rotations is difficult.
Spatial Descriptions and Transformations Sebastian van Delden USC Upstate
1 Fundamentals of Robotics Linking perception to action 2. Motion of Rigid Bodies 南台科技大學電機工程系謝銘原.
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.
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.
KINEMATIC CHAINS AND ROBOTS (II). Many machines can be viewed as an assemblage of rigid bodies called kinematic chains. This lecture continues the discussion.
Robot Kinematics: Position Analysis 2.1 INTRODUCTION  Forward Kinematics: to determine where the robot ’ s hand is? (If all joint variables are known)
What is Kinematics. Kinematics studies the motion of bodies.
The Spinning Top Chloe Elliott. Rigid Bodies Six degrees of freedom:  3 cartesian coordinates specifying position of centre of mass  3 angles specifying.
UW EXTENSION CERTIFICATE PROGRAM IN GAME DEVELOPMENT 2 ND QUARTER: ADVANCED GRAPHICS Math Review.
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.
Geometric Transformations UBI 516 Advanced Computer Graphics Aydın Öztürk
Affine Geometry.
CSCE 552 Fall 2012 Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
A function is a rule f that associates with each element in a set A one and only one element in a set B. If f associates the element b with the element.
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.
Week 5 - Monday.  What did we talk about last time?  Lines and planes  Trigonometry  Transforms  Affine transforms  Rotation  Scaling  Shearing.
Chapter 9 Properties of Transformations Warren Luo Matthew Yom.
Learning from the Past, Looking to the Future James R. (Jim) Beaty, PhD - NASA Langley Research Center Vehicle Analysis Branch, Systems Analysis & Concepts.
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry "Old Henry And His Old Aunt" Defined using right triangle  x y h.
Computer Animation Algorithms and Techniques
CPSC 641: Computer Graphics Rotation Representation and Interpolation
Representation of scene motion
Spatcial Description & Transformation
3D Kinematics Consists of two parts
Ch. 2: Rigid Body Motions and Homogeneous Transforms
Mobile Robot Kinematics
Chapter IV Spaces and Transforms
Linear Algebra A gentle introduction
Rigid Body Transformations
Presentation transcript:

Rotations and Translations Cherevatsky Boris

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:

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

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.

Example

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)

Example Rotating B relative to A around Z by

Example In general:

Using Rotation Matrices

Translation

Combining Rotation and Translation

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.

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. Mapping a vector from one frame to another – the quantity itself is not changed, only its description is changed.

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?

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

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

P in the coordinate system A

Formula

Compound Transformation

Several Combinations

Example

Example

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.

Euler Theorem In three-dimensional space, any displacement of a rigid body such that a point on the rigid body remains fixed, is equivalent to a single rotation about some axis that runs through the fixed point. How can we compute the axis of rotation? (Eigenvector corresponding to eigenvalue 1).

Quaternions The quaternion group has 8 members: Their product is defined by the equation:

Quaternions Algebra We will call the following linear combination a quaternion. It can be written also as: All the combinations of Q where a,b,c,s are real numbers is called the quaternion algebra.

Quaternion Algebra By Euler’s theorem every rotation can be represented as a rotation around some axis with angle . In quaternion terms: Composition of rotations is equivalent to quaternion multiplication.

Example We want to represent a rotation around x-axis by 90 , and then around z-axis by 90 :

Rotating with quaternions We can describe a rotation of a given vector v around a unit vector u by angle : this action is called conjugation. * Pay attention to the inverse of q (like in complex numbers) !

Rotating with quaternions The rotation matrix corresponding to a rotation by the unit quaternion z = a + bi + cj + dk (with |z| = 1) is given by: Its also possible to calculate the quaternion from rotation matrix: Look at Craig (chapter 2 p.50 )

Rodrigues formula We would like to rotate a vector v around a unit vector u with angle the rotated vector will be: