﻿1
00:00:00,870 --> 00:00:07,150
‫So now we know that a drone is a six degree of freedom system.

2
00:00:07,470 --> 00:00:14,760
‫We have three position dimensions with which we can determine where the body frame is with respect to

3
00:00:14,760 --> 00:00:15,770
‫the inertial frame.

4
00:00:16,110 --> 00:00:26,220
‫And we also have three orientation dimensions with which we can determine how the body frame is rotated

5
00:00:26,250 --> 00:00:28,060
‫with respect to the initial frame.

6
00:00:28,350 --> 00:00:34,770
‫So you can already see that it is a more complex system compared to the autonomous vehicle in the next

7
00:00:34,770 --> 00:00:35,290
‫section.

8
00:00:35,640 --> 00:00:43,890
‫I will show you how to represent the UVs body axis in the initial frame using oilor angles and rotation

9
00:00:43,890 --> 00:00:44,600
‫matrices.

10
00:00:45,240 --> 00:00:48,890
‫And by the way, this is what degree of freedom means, right?

11
00:00:49,060 --> 00:00:58,580
‫It's the number of independent variables that you need to determine your system's configuration or state,

12
00:00:58,890 --> 00:01:03,610
‫in our case to determine the drones state.

13
00:01:03,750 --> 00:01:12,030
‫We need three position dimensions and three orientation dimensions, because when we deal with objects

14
00:01:12,030 --> 00:01:15,630
‫in 3D, we have a rigid body like a drone.

15
00:01:15,960 --> 00:01:23,730
‫Not only we need to know where the drone is with respect to the inertia frame in terms of position,

16
00:01:24,120 --> 00:01:30,300
‫but we also need to know what its orientation is with respect to the inertial frame.

17
00:01:30,510 --> 00:01:33,810
‫And now let's look at the oves inputs.

18
00:01:34,530 --> 00:01:42,000
‫If we think about it logically, then, since the drone has four propellers, then it would make sense

19
00:01:42,150 --> 00:01:49,410
‫that it has four inputs, which are the rotational velocities of its four propellers, which are measured

20
00:01:49,770 --> 00:01:57,840
‫in radians per second, and the rotational velocities of the drones propellers are usually denoted with

21
00:01:57,840 --> 00:01:58,890
‫a big sigma.

22
00:01:59,730 --> 00:02:05,710
‫And it makes sense because that is how you physically controlled the drone, right?

23
00:02:06,150 --> 00:02:15,510
‫You manipulate the drones position and orientation by manipulating the rotational velocities of the

24
00:02:15,510 --> 00:02:16,380
‫propellers.

25
00:02:16,890 --> 00:02:25,410
‫However, when we derive a mathematical model for the UVs, we will find that it is more convenient

26
00:02:25,680 --> 00:02:33,590
‫to treat the forces and moments that are created by the propellers as our system inputs.

27
00:02:34,110 --> 00:02:40,770
‫So instead of rotational velocities of the propellers, we would consider forces in moments created

28
00:02:40,770 --> 00:02:44,620
‫by those propellers as our system inputs.

29
00:02:44,820 --> 00:02:52,200
‫That is because in the mathematical model of the ovei forces in moments created by the propellers can

30
00:02:52,200 --> 00:02:56,180
‫be conveniently separated from the rest of the model.

31
00:02:56,700 --> 00:03:01,110
‫And that is what we need when we work with state space equations.

32
00:03:01,350 --> 00:03:10,320
‫We need to be able to extract our system inputs like that and we can do it if we consider forces and

33
00:03:10,320 --> 00:03:14,570
‫movements created by the propellers as our system inputs.

34
00:03:15,060 --> 00:03:22,050
‫And then, of course, we will also have equations that will convert the forces in moments created by

35
00:03:22,050 --> 00:03:26,110
‫the propellers to the rotational velocities of the propellers themselves.

36
00:03:26,430 --> 00:03:31,140
‫And now let's look at those forces in moments that are created by the propellers.

