﻿1
00:00:00,460 --> 00:00:01,280
‫Welcome back.

2
00:00:01,870 --> 00:00:11,920
‫So you have two general equations now you have the first one, which is for translational motion in

3
00:00:11,920 --> 00:00:19,150
‫3-D, and then you have the second one, which is for rotational motion in 3D.

4
00:00:20,060 --> 00:00:28,220
‫And so if we want to put them together in one vector, matrix form, then first of all, we have to

5
00:00:28,220 --> 00:00:30,920
‫rewrite the first equation like this.

6
00:00:31,900 --> 00:00:39,940
‫We're going to open the parenthesis and then here we're going to add an identity matrix, which is this

7
00:00:39,940 --> 00:00:40,390
‫one.

8
00:00:41,530 --> 00:00:49,210
‫This is this I three times three, the identity matrix, and you can do that because in the Matrix world,

9
00:00:49,480 --> 00:00:52,330
‫the identity matrix is like one.

10
00:00:52,600 --> 00:00:54,960
‫So it's like multiplying something by one.

11
00:00:55,750 --> 00:01:02,020
‫And then in this term, I'm going to put the mass here on this side of the cross product and then all

12
00:01:02,020 --> 00:01:04,390
‫that equals the net force vector.

13
00:01:05,320 --> 00:01:07,150
‫The second row will be the same.

14
00:01:08,130 --> 00:01:16,530
‫And remember, I superscript b here is the mass moment of inertia matrix about the body frame axis.

15
00:01:17,140 --> 00:01:26,050
‫We are measuring these quantities about the body frame axis and we assume that our drone is mass symmetric

16
00:01:26,050 --> 00:01:32,320
‫about all the body frame axis, which means that all your products of inertia are zeros.

17
00:01:32,770 --> 00:01:36,810
‫So that's your mass moment of inertia matrix.

18
00:01:37,630 --> 00:01:43,480
‫And now we can take this chunk here and rewrite it like this.

19
00:01:44,500 --> 00:01:46,390
‫So that's how you can rewrite it.

20
00:01:46,540 --> 00:01:53,230
‫And now you can also see why you needed this identity matrix here in order to make all the dimensions

21
00:01:53,500 --> 00:01:54,130
‫match.

22
00:01:54,340 --> 00:02:00,940
‫So essentially, this is a six by six matrix here and these are the three by three zero matrices here.

23
00:02:01,990 --> 00:02:04,480
‫And then you multiply it by this vector here.

24
00:02:05,460 --> 00:02:07,950
‫Then you take this chunk here.

25
00:02:09,050 --> 00:02:14,640
‫And you rewrite it like this, and this is your net force and moment vector.

26
00:02:15,440 --> 00:02:19,160
‫So this thing here is a six by one vector.

27
00:02:20,100 --> 00:02:27,150
‫And if you truly want to ride it out, then it would look like this, as you can see, it's quite massive,

28
00:02:27,810 --> 00:02:28,910
‫but it's the same thing.

29
00:02:28,920 --> 00:02:38,360
‫So the sum of the forces in moments equals and then you have this part that assumes that your body frame

30
00:02:38,370 --> 00:02:41,160
‫is not rotating with respect to the initial frame.

31
00:02:41,940 --> 00:02:45,000
‫And then this is your correction factor.

32
00:02:45,930 --> 00:02:56,700
‫So whenever you have some kind of object and that object is subject to all kinds of forces and moments,

33
00:02:57,390 --> 00:03:02,580
‫then you sum them all up and then you get the net force and moment vector.

34
00:03:03,510 --> 00:03:06,030
‫And that equals all this.

35
00:03:07,310 --> 00:03:13,340
‫And this formulation is called Knewton oilor.

36
00:03:14,590 --> 00:03:24,970
‫Formulation and with this formulation, it is possible to describe the motion of six degree of freedom.

37
00:03:26,020 --> 00:03:27,610
‫Rigid body.

