1
00:00:00,090 --> 00:00:05,220
Until this lesson, we have learned many different things about the representation of both positions

2
00:00:05,220 --> 00:00:06,360
and orientations.

3
00:00:07,140 --> 00:00:14,250
Now it's time to combine these two concepts in order to find a way of representing rigid motion of bodies

4
00:00:14,250 --> 00:00:16,860
and try to formulate this representation.

5
00:00:17,220 --> 00:00:19,500
Without any further ado, let's continue.

6
00:00:20,040 --> 00:00:26,760
Rigid motion is nothing but combination of pure translation and rotation because, as you know, we

7
00:00:26,760 --> 00:00:32,130
can represent in the motion of a rigid body with the translation and rotation.

8
00:00:32,760 --> 00:00:35,740
So let's specify a coordinated frame of zero.

9
00:00:35,760 --> 00:00:43,530
And the second cardinal frame of one rotation matrix of R1 zero orientation represents orientation of

10
00:00:43,530 --> 00:00:46,350
frame or one with respect to frame zero.

11
00:00:47,140 --> 00:00:51,780
Additionally, suppose that we have a point rigidly attached to the frame of one.

12
00:00:52,170 --> 00:00:56,010
Its coordinates with respect to frame or one is P1.

13
00:00:56,790 --> 00:01:04,050
Then we can express point p with respect to frame or zero by multiplying P1 with R1 zero.

14
00:01:04,230 --> 00:01:11,610
In order to account for the relative orientation and then ADI, which represents distance between the

15
00:01:11,610 --> 00:01:14,280
centers of O zero and one.

16
00:01:15,840 --> 00:01:23,220
Now let's consider three coordinate frames, namely O zero 01 and 02, and denote the distance between

17
00:01:23,460 --> 00:01:32,160
zero and one as D1 and distance between one and or two as the to the point P is attached to the frame

18
00:01:32,160 --> 00:01:38,080
of 02 and its coordinates on with one or two with the.

19
00:01:40,890 --> 00:01:50,110
OK, the point is attached to frame 02 and its coordinates on with respect to all too is given as Victor

20
00:01:50,120 --> 00:01:50,800
P-2.

21
00:01:51,070 --> 00:01:55,060
Let's try to calculate its corners with respect to frame zero.

22
00:01:55,690 --> 00:02:02,920
We can do that by first calculating its coordinates with respect to frame one and then frame frame or

23
00:02:02,920 --> 00:02:04,570
one to frame zero.

24
00:02:04,930 --> 00:02:08,230
You can see these calculations from the expressions.

25
00:02:08,950 --> 00:02:14,860
Now, let's substitute Equation one into Equation two, which yields Equation three.

26
00:02:15,280 --> 00:02:21,910
This represents Point P coordinates with respect to frame or zero, since the relation between zero

27
00:02:21,910 --> 00:02:24,370
and 02 is also a rigid motion.

28
00:02:24,610 --> 00:02:27,910
We can write Equations three in this form.

29
00:02:28,360 --> 00:02:30,580
Let's call this equation four.

30
00:02:31,390 --> 00:02:39,010
Finally, we can compare Equations three and Equation four to get total relative rotation and vector

31
00:02:39,010 --> 00:02:47,440
from the center of frame or zero, and to alter from frame from the center of frame or zero to alter,

32
00:02:47,680 --> 00:02:50,770
which are given by equations five and six.

33
00:02:51,220 --> 00:02:53,280
From equations of five and six.

34
00:02:53,290 --> 00:03:00,940
We can see that while we can get total orientation transformation by just multiplying rotation mattresses,

35
00:03:00,940 --> 00:03:04,540
we can do the same for the translational transformation.

36
00:03:05,770 --> 00:03:09,730
If you think about the move problems, you can easily see that it would be.

37
00:03:09,730 --> 00:03:16,090
It would become very difficult to manipulate these rigid body motions by considering above formulas

38
00:03:16,330 --> 00:03:22,270
because as the number of frames name, the number of rigid bodies increases, the complexity of formulas

39
00:03:22,270 --> 00:03:26,070
increases and it becomes more difficult to handle another plate them.

40
00:03:26,650 --> 00:03:32,500
Due to that reason, we will try to find either representation and way of handling of rigid motion.

41
00:03:33,010 --> 00:03:37,030
Let's try to write equations five and six in matrix form.

42
00:03:37,390 --> 00:03:43,150
As you can see from this equation, we have separate mattresses which have similar structures.

43
00:03:43,630 --> 00:03:50,470
By simply multiplying these mattresses, we can manipulate rigid motions between frames or bodies easily.

44
00:03:51,040 --> 00:03:56,950
These mattresses are called homogeneous transformation mattresses, and they have dimensions of four

45
00:03:56,950 --> 00:03:57,580
by four.

46
00:03:58,150 --> 00:04:02,680
This structure can also be represented in this form.

47
00:04:02,980 --> 00:04:08,950
As you can see, they are composed of rotation matrix, which represents the relative orientation and

48
00:04:08,950 --> 00:04:15,070
three by one vector, which represents vector from the center of one frame to another.

49
00:04:16,450 --> 00:04:22,780
Set of all transformation mattresses creates spatial equilibrium group that is called as all three,

50
00:04:22,780 --> 00:04:24,760
and they have several properties.

51
00:04:25,450 --> 00:04:27,670
Now let's talk about these properties.

52
00:04:28,120 --> 00:04:33,700
First of all, as we mentioned earlier, transformation mattresses are included into the Group of Spatial

53
00:04:33,700 --> 00:04:39,790
Equilibrium Group, and they have dimensional four by four multiplication of homogeneous transformation.

54
00:04:39,790 --> 00:04:42,820
Mattresses are associative, but not competitive.

55
00:04:43,060 --> 00:04:44,230
Be careful about that.

56
00:04:44,740 --> 00:04:49,810
Additionally, I would like to note that the inverse of homogeneous transformation mattresses are not

57
00:04:49,810 --> 00:04:53,350
equal to their transpose, as in the case of rotational mattresses.

58
00:04:54,010 --> 00:04:59,140
Here you can see the inverse of homogeneous transformation mattresses, which is also a homogeneous

59
00:04:59,140 --> 00:05:03,370
transformation mattress and included in the Group of three.

60
00:05:04,690 --> 00:05:08,290
There are several usages of homogeneous transformation mattresses.

61
00:05:08,470 --> 00:05:10,660
First, they represent a configuration.

62
00:05:10,990 --> 00:05:17,410
This means that if we are given to cordon of frames whose relative orientation is represented by R1

63
00:05:17,410 --> 00:05:25,180
zero and distance between two frames are given by Vector DB, then we can represent their relative configuration

64
00:05:25,180 --> 00:05:28,930
by homogeneous transformation matrix of H one zero.

65
00:05:30,010 --> 00:05:35,740
This constitutes both relative orientation and distance between the center of the frames.

66
00:05:36,040 --> 00:05:43,150
Additionally, we can find homogeneous transformation from frame o zero, two or one by finding inverse

67
00:05:43,150 --> 00:05:45,700
inverse of h zero.

68
00:05:47,110 --> 00:05:51,580
Additional homogeneous transformation mattresses can be used to change a reference frame.

69
00:05:52,180 --> 00:05:58,540
Let's assume that we are given three frames and distance between their centers as d one and the two.

70
00:05:59,140 --> 00:06:06,490
Then we can find h to zero up by multiplying homogeneous transformation matrix from frame one to zero

71
00:06:06,490 --> 00:06:09,630
and homogeneous transformation matrix from frame two to one.

72
00:06:10,070 --> 00:06:17,500
We we can also find h zero two by finding inverse of H two zero.

73
00:06:20,660 --> 00:06:28,070
We can do the same for Point Pete and change its reference frame from frame one to frame zero by using

74
00:06:28,070 --> 00:06:30,020
homogeneous transformation metrics.

75
00:06:30,680 --> 00:06:37,430
You can see that we can do that by multiplying homogeneous transformation metrics with P one simply.

76
00:06:38,150 --> 00:06:44,450
But it's not correct because dimension of homogeneous transformation matrix is four by four, while

77
00:06:44,450 --> 00:06:47,360
Vector P one has the dimension of three by one.

78
00:06:47,570 --> 00:06:49,580
So the multiplication is impossible.

79
00:06:50,180 --> 00:06:56,540
So what we have to do, the solution is very simple we have to use homogeneous coordinates instead of

80
00:06:56,540 --> 00:06:57,530
the normal coordinates.

81
00:06:58,520 --> 00:07:00,470
Doing that is not complicated.

82
00:07:00,980 --> 00:07:07,910
We just increase the dimensional vector p one to four and add one two below of the vector.

83
00:07:08,540 --> 00:07:15,380
So now we can successfully do the multiplication and find coordinates of point p in frame zero.

84
00:07:17,300 --> 00:07:21,740
Finally, let's talk about the composition of homogeneous transformation mattresses.

85
00:07:22,100 --> 00:07:26,390
But don't worry, because it's exactly the same as in the case of rotation mattresses.

86
00:07:26,990 --> 00:07:33,770
So let's assume that we have given two frames, namely oh, zero and four one, and the relative configuration

87
00:07:33,770 --> 00:07:38,480
between them is given by the homogeneous transformation matrix of each one zero.

88
00:07:39,170 --> 00:07:42,440
We are also given one additional rigid motion of age.

89
00:07:43,220 --> 00:07:48,860
So if this motion is about the current frame, then the post multiplied these mattresses.

90
00:07:49,310 --> 00:07:53,630
If it is about the fixed frame, then the press multiply these mattresses.

91
00:07:54,620 --> 00:07:58,130
So with this, we have finished the theory of this chapter.

92
00:07:58,520 --> 00:08:00,650
We will have two practical lessons.

93
00:08:00,650 --> 00:08:05,540
Additionally, the first will be in MATLAB and the second will be applied.

94
00:08:05,540 --> 00:08:13,190
Ribeau Real Robotics situation in simulation and we will use the techniques VE learned to solve the

95
00:08:13,190 --> 00:08:13,760
problem.

96
00:08:13,970 --> 00:08:15,290
See you on the next lesson.
