﻿1
00:00:00,420 --> 00:00:01,200
‫Welcome back.

2
00:00:01,590 --> 00:00:08,710
‫So let's rotate the body frame with respect to the inertial frame by rotating about the fixed axis.

3
00:00:09,210 --> 00:00:17,160
‫So first we rotate about the fixed x axis, like this positive rotation according to the right hand

4
00:00:17,160 --> 00:00:17,520
‫rule.

5
00:00:18,000 --> 00:00:23,740
‫And if you rotated by 90 degrees, then you will get this result.

6
00:00:24,360 --> 00:00:34,340
‫Then you rotate about the inertial y axis and you have this and then about the Z axis and you are here.

7
00:00:34,920 --> 00:00:36,780
‫And now let's do the same thing.

8
00:00:36,780 --> 00:00:41,050
‫But now we rotate about the moving frame.

9
00:00:41,490 --> 00:00:47,900
‫So first we rotate about the body frame x axis by 90 degrees.

10
00:00:48,570 --> 00:00:55,050
‫You get this one, which is the same like this one here, which makes sense because when you rotated

11
00:00:55,410 --> 00:01:03,570
‫about the body frame x axis, then at the beginning your body frame x axis overlapped with the inertial

12
00:01:03,570 --> 00:01:04,820
‫frame x axis.

13
00:01:05,250 --> 00:01:09,760
‫So it's logical that here the result is the same like here.

14
00:01:10,290 --> 00:01:19,260
‫However, now instead of rotating about the inertia frame y axis, you rotate about the body frame y

15
00:01:19,260 --> 00:01:19,880
‫axis.

16
00:01:20,400 --> 00:01:24,260
‫And if you do that, then you will get this result.

17
00:01:24,600 --> 00:01:32,880
‫And finally, you rotate about the body frame Z axis, not the inertia frames the axis, but body frame,

18
00:01:32,880 --> 00:01:33,630
‫Z axis.

19
00:01:34,170 --> 00:01:36,390
‫And you end up having this configuration.

20
00:01:37,080 --> 00:01:37,860
‫There you go.

21
00:01:38,170 --> 00:01:48,780
‫As you can see, it also matters if you rotate about the fixed X, Y, Z axis, which is called a fixed

22
00:01:48,780 --> 00:01:58,590
‫angle approach, or you rotate about the moving X, Y, Z axis, which is called an oiler angle approach.

23
00:01:59,190 --> 00:02:06,140
‫So now you know how to completely determine the position and the orientation of your drone.

24
00:02:06,570 --> 00:02:14,670
‫You have to specify the position of the drone, the orientation angles, whether you use the right hand

25
00:02:14,670 --> 00:02:19,230
‫rule or not, and probably you do because everybody does it.

26
00:02:19,680 --> 00:02:27,360
‫Then you also have to specify the rotation order convention and whether you use a fixed angle approach

27
00:02:27,660 --> 00:02:30,240
‫or an oilor angle approach.

28
00:02:30,840 --> 00:02:33,330
‫But now a question to you.

29
00:02:33,720 --> 00:02:38,760
‫How would you rate the oil or angles in the vector matrix form?

30
00:02:39,090 --> 00:02:43,710
‫And for that, I'm going to give you another exercise again.

31
00:02:44,100 --> 00:02:53,610
‫At the beginning, your body and inertial frames overlap, then make three consecutive rotations each

32
00:02:53,610 --> 00:03:06,990
‫power to radians, first using the R sub X, Y, Z convention using the fixed angle approach and then

33
00:03:07,470 --> 00:03:16,040
‫R sub z, y, x convention using the oilor angle approach.

34
00:03:16,590 --> 00:03:20,910
‫Try to do this exercise by yourself first and see what you will get.

35
00:03:21,420 --> 00:03:28,310
‫See how in both cases the body frames end up in which configuration.

36
00:03:28,620 --> 00:03:29,820
‫See you in the next video.

