• Tidak ada hasil yang ditemukan

Spatial Descriptions and Transformations

N/A
N/A
Protected

Academic year: 2023

Membagikan "Spatial Descriptions and Transformations"

Copied!
38
0
0

Teks penuh

(1)

Spatial Descriptions and Transformations

(2)

Computer Graphics (Recap)

(3)

Computer Graphics (Recap)

(4)

Computer Graphics (Recap)

(5)

Computer Graphics (Recap)

(6)

Computer Graphics (Recap)

I

(7)

Representation of a Vector in Space

A vector can be represented by three coordinates of its tail and its head. If the vector starts at point A and ends at point B, then it can be represented by

(8)

Representation of a Vector in Space

Specifically, if the vector starts at the origin

(9)

Representation of a Vector in Space

In Matrix Form,

This representation can be slightly modified to also include a scale factor w

(10)

Representation of a Vector in Space

w may be any number and, as it changes, it can change the overall size of the vector.

This is similar to the zooming function in computer graphics.

As the value of w changes, the size of the vector changes accordingly.

If w is bigger than 1, all vector components enlarge.

If w is smaller than 1, all vector components become smaller.

However, if w = 0 it becomes a direction vector.

(11)

Example I

(12)

Example I

(13)

Example I

(14)

Example II

(15)

Example II

(16)

Representation of a Frame Relative to a Fixed Reference Frame

To fully describe a frame relative to another frame, both the location of its

origin and the directions of its axes must be specified.

If a frame is not at the

origin (or, in fact, even if it is at the origin) of the

reference frame, its location relative to the reference frame is

described by a vector between the origin of the frame and the origin of the reference frame

(17)

Representation of a Frame Relative to a Fixed

Reference Frame

(18)

Representation of a Rigid Body

(19)

Representation of Transformations

A transformation may be in one of the following forms:

A pure translation

A pure rotation about an axis

A combination of translations and/or rotations

(20)

Representation of a Pure Translation

where dx , dy , and dz are the three components of a pure translation vector d relative to the x-, y-, and z-axes of the reference frame. The new location of the frame is,

(21)

Example III

(22)

Example III

(23)

Representation of a Pure Rotation about an Axis

Rotation along X-axis

(24)

Representation of a Pure Rotation about an Axis

Rotation along X-axis

Similarly

(25)

Example IV

(26)

Example IV

(27)

Representation of Combined Transformations

(28)

Example V

(29)

Example V

(30)

Example VI

(31)

Example VI

(32)

Example VII

(33)

Example VIII

(34)

Inverse of Transformation Matrices

(35)

Example IX

(36)

Example X

(37)

Example X

(38)

References

Saeed B. Niku - Introduction to Robotics Analysis, Control, Applications Wiley (2010)

Referensi

Dokumen terkait

In the proposed archi- tecture, each agent senses the relative poses of its neighbors with respect to its local frame us- ing vision-based techniques and communicates the relative pose

Hajipour Department of Anesthesia and Intensive care, Imam Khomeini Hospital, School of Medicine, Tehran University of Medical Sciences, Tehran,Iran Abstract- In a randomized, double