09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example 1<br />

A tool is orientated so that its Z’-axis points straight ahead (in the same direction as the<br />

X-axis of the base coordinate system). The Y’-axis of the tool corresponds to the Yaxis<br />

of the base coordinate system (see Figure 2). How is the orientation of the tool<br />

defined in the position data (robtarget)?<br />

The orientation of the tool in a programmed position is normally related to the coordinate<br />

system of the work object used. In this example, no work object is used and the<br />

base coordinate system is equal to the world coordinate system. Thus, the orientation<br />

is related to the base coordinate system.<br />

Figure 2 The direction of a tool in accordance with example 1.<br />

The axes will then be related as follows:<br />

x’ = -z = (0, 0, -1)<br />

y’ = y = (0, 1, 0)<br />

z’ = x = (1, 0, 0)<br />

Which corresponds to the following rotational matrix:<br />

The rotational matrix provides a corresponding quaternion:<br />

Example 2<br />

Z<br />

X<br />

X´<br />

0 + 1 + 0 + 1 2<br />

q1 = ---------------------------------- = ------ = 0,707<br />

2 2<br />

q2<br />

q3<br />

0 – 1 – 0 + 1<br />

= --------------------------------- = 0<br />

2<br />

1 – 0 – 0 + 1 2<br />

= --------------------------------- = ------ = 0,707<br />

2 2<br />

0 – 0 – 1 + 1<br />

q4 = --------------------------------- =<br />

0<br />

2<br />

sign q3 = sign (1+1) = +<br />

The direction of the tool is rotated 30 o about the X’- and Z’-axes in relation to the wrist<br />

coordinate system (see Figure 2). How is the orientation of the tool defined in the tool<br />

data?<br />

<strong>RAPID</strong> Reference Manual 7-orient-3<br />

Z´<br />

0 0 1<br />

0 1 0<br />

– 1 0 0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!