YouTube2Text

Princeton Intro to Robotics (Fall 2026) | Lecture 4: Quadrotor Dynamics — Transcript

by Introduction to Robotics @ Princeton · 10,656 words · 1,535 segments · language en · Watch on YouTube

Full transcript

  1. 0:13So we're going to continue our
  2. 0:14discussion of motion planning. Uh so
  3. 0:16maybe just as a quick reminder in the
  4. 0:18the past uh two lectures uh we focused
  5. 0:21on this problem of geometric motion
  6. 0:22planning. So how do you get your robot
  7. 0:25to plan some path from configuration A
  8. 0:27to configuration B uh without colliding
  9. 0:29with any obstacles that are in the
  10. 0:31environment? Uh so the plan for the next
  11. 0:34uh couple of lectures is to start
  12. 0:36thinking about the dynamics of the
  13. 0:38robot. Uh which so far is something that
  14. 0:41we've ignored. uh and I guess
  15. 0:43specifically uh there are two challenges
  16. 0:46uh with the kind of geometric motion
  17. 0:48planning techniques that we've discussed
  18. 0:50so far uh that we want to start
  19. 0:52addressing. Uh the first one is what's
  20. 0:54known as dynamic feasibility. Uh so
  21. 0:57basically not all motion plans that come
  22. 1:00out of AAR or the RT algorithm which we
  23. 1:02looked at in the last lecture uh are
  24. 1:05actually physically executable uh by
  25. 1:08whatever robot you you happen to have.
  26. 1:11Uh and maybe just as a as a sort of
  27. 1:13quick uh uh check to to see if everyone
  28. 1:17understands what we mean by this um
  29. 1:19let's try to think about a a motion plan
  30. 1:22let's say that comes out of RT or or
  31. 1:24some other algorithm uh that is not
  32. 1:26actually dynamically feasible that's not
  33. 1:29physically executable uh by a drone. So
  34. 1:32let's say yeah I brought the the drone
  35. 1:34that we're going to be using uh for this
  36. 1:36course along today. uh you'll have a
  37. 1:38chance to uh start using it uh in the
  38. 1:41upcoming assignment which will be which
  39. 1:43will go out uh tomorrow. Uh but yeah, I
  40. 1:46guess for for now, let's just think
  41. 1:47about some some simple let's say motion
  42. 1:49plan uh that is not actually physically
  43. 1:53executable by by the robot. Thoughts on
  44. 1:55this?
  45. 1:57Go ahead.
  46. 1:57>> Maybe something that has a lot of really
  47. 1:59tight turns that the drone can't can't
  48. 2:01really achieve.
  49. 2:02>> Yep. Yeah. So, uh kind of very very
  50. 2:04agile motions. Maybe it it might be uh
  51. 2:07like there might be a certain minimum
  52. 2:08amount of like curvature. Um yeah, I
  53. 2:11guess other thoughts. Yeah,
  54. 2:13>> one frame like fully to the right max
  55. 2:16velocity and then right and one more
  56. 2:18time stand fully to the left max
  57. 2:20velocity.
  58. 2:21>> That's right. Yeah. So some something
  59. 2:22where it's actually a sharp curve may
  60. 2:25not be physically feasible. Go ahead.
  61. 2:28Maybe like a a crevice has to go through
  62. 2:30where it have to orient sideways, but
  63. 2:33then it can't orient sideways because
  64. 2:34it's thrust pointing like into the wall.
  65. 2:36>> Yep. Okay. Good. Yeah. Yeah. Uh there's
  66. 2:38actually a super simple example as well.
  67. 2:41I'm curious if anyone Yeah.
  68. 2:44>> translation.
  69. 2:45>> Good. Yeah. So just configuration A is
  70. 2:49uh horizontal. So just kind of flat uh
  71. 2:51and then perfectly translating uh along
  72. 2:55the same uh Z height. Uh so that's not
  73. 2:58physically uh feasible. Uh and I guess
  74. 3:01the the reason is that the the
  75. 3:02propellers are are producing thrust uh
  76. 3:05which is always perpendicular uh to the
  77. 3:07the body of the drone. Uh so there's no
  78. 3:09way to apply a force that is kind of
  79. 3:12purely horizontal if the drone is in
  80. 3:14this uh horizontal configuration. So
  81. 3:16there's no way to kind of have pure
  82. 3:18translation uh sideways. Uh so yeah, I
  83. 3:21guess that that's one challenge that
  84. 3:22we're going to start thinking about. How
  85. 3:24do we take into account uh dynamic
  86. 3:26feasibility when we're doing motion
  87. 3:27planning? Uh and then the second
  88. 3:29challenge is that uh even if your plan
  89. 3:32happens to be feasible uh for the
  90. 3:34particular dynamics model uh that you
  91. 3:36have uh that dynamics model may not be
  92. 3:39perfect like there's all sorts of like
  93. 3:41aerodynamic effects that are pretty
  94. 3:42complicated to take into account uh that
  95. 3:45we're going to mostly ignore. Um or
  96. 3:48there might be external disturbances.
  97. 3:49So, if you're flying outdoors, there
  98. 3:51might be a wind gust uh and that is kind
  99. 3:53of unpredictable and it might take you
  100. 3:55off the the planned uh motion that your
  101. 3:57drone is trying to to follow. Um so,
  102. 4:00yeah, I guess how do we account for for
  103. 4:02both of these factors? Uh that's what
  104. 4:04we're going to focus on for the the next
  105. 4:05few lectures. Um so, today's lecture and
  106. 4:08the next two lectures, we'll focus on
  107. 4:09the first part of this uh dynamic
  108. 4:11feasibility. uh and then beyond that
  109. 4:13we're going to start thinking about how
  110. 4:14we can use techniques from feedback
  111. 4:16control uh to address the errors and
  112. 4:19disturbances that your uh drone might
  113. 4:21encounter. Okay. So yeah uh the goal for
  114. 4:24today actually is just to to think about
  115. 4:26the dynamics uh like just how do we
  116. 4:28describe the dynamics of the drone. Um
  117. 4:31so there are entire courses devoted to
  118. 4:33to dynamics. I know some of you took MA
  119. 4:35206 where we spend basically like 23
  120. 4:38lectures like the 23rd lecture is a full
  121. 4:40derivation of equations of motion for
  122. 4:42the quadrotor. Uh so obviously this is
  123. 4:44going to be a a kind of a much quicker
  124. 4:46overview. Uh the goal today is just to
  125. 4:48give you a sense for what um the
  126. 4:51equations that describe the dynamics of
  127. 4:52a drone look like. Uh so I'll do this on
  128. 4:55the blackboard and then I'll I'll switch
  129. 4:57back. Yeah. So I'll I'll start off with
  130. 5:00uh a simplified
  131. 5:02version of the quadrotor
  132. 5:05uh which we've already encountered. This
  133. 5:07is the planer quadrotor.
  134. 5:13Um and yeah, I guess just to remind you
  135. 5:15of the setup here,
  136. 5:18uh this is a a version of the quadrotor
  137. 5:21that just lives in the plane. So just
  138. 5:22imagine that you're kind of looking at
  139. 5:24it uh from front on uh and all the
  140. 5:27motions are constrained uh to to one
  141. 5:30plane.
  142. 5:32Um so the cartoon kind of version of
  143. 5:35this system looks like this. So you have
  144. 5:38two propellers.
  145. 5:41So it's really a birotor rather than a
  146. 5:43quadrotor, but we're going to call it
  147. 5:44the the planer quadrotor. Uh and it's a
  148. 5:46three degree of freedom system. So
  149. 5:48there's a x and a y coordinate uh that
  150. 5:51describes let's say the center of mass
  151. 5:54of this planer quadrotor. Uh and then
  152. 5:56there's also an orientation.
  153. 6:03Um yeah so three three dos three
  154. 6:06independent ways that the system can
  155. 6:07move three coordinates that we need to
  156. 6:09specify the configuration of the drone.
  157. 6:12Uh and then there are also two
  158. 6:16control inputs, two things that the the
  159. 6:19drone can directly impact. Uh so these
  160. 6:22are the thrust forces. I'm going to call
  161. 6:24them f_sub_1 and f_sub_2. Uh for now,
  162. 6:26just imagine that the drone has the
  163. 6:28ability to kind of directly control
  164. 6:31whatever thrust it wants to produce.
  165. 6:33I'll say a little bit more about exactly
  166. 6:35how that works. Uh in practice what's
  167. 6:37happening is that the uh thing that the
  168. 6:39drone directly controls is the propeller
  169. 6:41speed. Uh and there's a nice
  170. 6:43relationship between the the speed of
  171. 6:45the propeller uh and the thrust that
  172. 6:47gets produced. But I I'll say more about
  173. 6:48that uh later in the in the lecture. Um
  174. 6:52so what I want to do is just kind of
  175. 6:54sketch out the dynamics of this system.
  176. 6:57So this three degree of three degree of
  177. 6:59freedom system. Uh how do we describe
  178. 7:01its dynamics? How do we get its
  179. 7:03equations of motion?
  180. 7:14Um and yeah, I guess typically the the
  181. 7:16way you do this is through Newton's
  182. 7:18laws. So Newton's second law in
  183. 7:20particular.
  184. 7:25Um so we can analyze the forces uh that
  185. 7:29are being applied on the the center of
  186. 7:31mass of the system or the the total
  187. 7:33forces that are being applied on the
  188. 7:35system. Uh so equate that to mass times
  189. 7:38the acceleration.
  190. 7:40Uh and if we do that uh we get some
  191. 7:43equations. So along the x-axis uh we
  192. 7:46have x dot. So the second time
  193. 7:48derivative of x uh equals um f_sub_1
  194. 7:54plus f_sub_2
  195. 7:57uh cossine theta
  196. 8:02uh divided by uh m. Okay, let me get the
  197. 8:06the signs correct here. Sorry, this
  198. 8:07should be negative
  199. 8:14uh negative f_sub_1 plus f_sub_2 and
  200. 8:16then sin theta.
  201. 8:20Uh and then y dot
  202. 8:24is
  203. 8:28uh f_sub_1 plus f_sub_2 cossine theta
  204. 8:32uh divided by m minus g. Uh so these are
  205. 8:38two equations that describe uh that give
  206. 8:41you kind of dynamics for the center of
  207. 8:42mass of the the drone. And again just
  208. 8:44just a quick sketch of where these come
  209. 8:46from. Uh so we're equating the mass of
  210. 8:49the drone little m times the
  211. 8:51acceleration let's say in the x
  212. 8:53direction. So that's m * x dot uh that
  213. 8:56equals the the forces uh the total
  214. 8:58forces that are being applied uh along
  215. 9:01the x direction uh on the on the drone.
  216. 9:04Um and I guess a quick maybe sanity
  217. 9:06check. Let's say f_sub_1 and f_sub_2 are
  218. 9:08both positive. Uh so the drone is uh
  219. 9:11applying some positive thrust force. Um
  220. 9:14we would expect in that sort of
  221. 9:17configuration where theta is positive uh
  222. 9:19we would expect the force to be in the
  223. 9:21negative direction. Maybe just convince
  224. 9:23yourself uh if the arrows are pointing
  225. 9:25that way theta is is positive uh the
  226. 9:28component of the forces along the x
  227. 9:29direction is in in is in the negative
  228. 9:32direction. Uh so that checks out. So if
  229. 9:34theta is some small let's say positive
  230. 9:36constant sine of theta is positive and
  231. 9:39we have a negative sign over here. Um
  232. 9:42and then yeah I guess we can do some
  233. 9:43kind of basic sanity checking here as
  234. 9:45well. Uh let's say if theta is zero uh
  235. 9:48then cosine of theta is one. Uh so in
  236. 9:51that configuration the drone is purely
  237. 9:53horizontal in the vertical direction. Uh
  238. 9:56the total thrust force should be f_sub_1
  239. 9:58plus f_sub_2. Um and then we have a
  240. 10:01negative gravitational constant. Yeah. I
  241. 10:04guess questions on on this where it
  242. 10:07comes from or or what it means.
  243. 10:11Okay. Uh and then the the last um
  244. 10:14equation
  245. 10:16describes uh dynamics for the the third
  246. 10:19degree of freedom uh which is the the
  247. 10:21orientation. Uh and this one
  248. 10:30uh basically relates the um
  249. 10:36uh the second derivative of of theta. So
  250. 10:39theta dot uh to the moment uh that's
  251. 10:42being applied on the on the drone. Uh
  252. 10:44and then also the moment of inertia. So
  253. 10:46this I term is the moment of inertia of
  254. 10:49the drone
  255. 10:56uh which is a a physical parameter of
  256. 10:58the drone. It basically captures how the
  257. 11:00the mass of the drone is spread out uh
  258. 11:02in its body. It's something that you can
  259. 11:04either kind of physically measure using
  260. 11:05some experiments uh or if you have a a
  261. 11:08CAD model of the drone u you can kind of
  262. 11:11estimate uh the moment of inertia from
  263. 11:13from the the CAD model. Uh so yeah I
  264. 11:16guess these are the the equations uh for
  265. 11:18the
  266. 11:20uh for the planer quadro order.
  267. 11:25And yeah, maybe I can just label these 1
  268. 11:27A,
  269. 11:291 B, 1 C.
  270. 11:35Um, and I might just to kind of simplify
  271. 11:38things just define some quantities.
  272. 11:46Um, so I'm going to define U1
  273. 11:50uh to be the total thrust force. So just
  274. 11:53f_sub_1 plus f_sub_2
  275. 11:56uh and I'll define u2 to be the total
  276. 11:59moment the torque uh which is f_sub_2
  277. 12:03minus f_sub_1
  278. 12:06multiplied by l uh and I should have
  279. 12:08said l here is also a physical parameter
  280. 12:11which is the the length
  281. 12:13uh of the moment arm. So it's the
  282. 12:16distance from the center of mass uh to
  283. 12:18one of the the propellers. Uh so that's
  284. 12:20this constant over here. uh so this is
  285. 12:23the the force times the the distance
  286. 12:25which is the the moment.
  287. 12:27Okay. So yeah, if I define these, then I
  288. 12:29can rewrite uh these equations as x dot
  289. 12:36uh equals negative u1
  290. 12:40um sin theta / m.
  291. 12:45Uh and then y dot
  292. 12:48uh is positive u1 cosine theta
  293. 12:54divided by m minus g.
  294. 12:58Uh and then finally theta dot
  295. 13:01uh is u2 which is f_sub_2 - f_sub_1
  296. 13:06l / i.
  297. 13:09So I've just rewritten in a slightly
  298. 13:12more compact form
  299. 13:15uh these these equations. Yeah, I guess
  300. 13:17questions on this.
  301. 13:22Okay, so yeah, I guess one thing to to
  302. 13:24notice here is that these are second
  303. 13:26order differential equations.
  304. 13:39uh and in general whenever you're
  305. 13:41applying Newton's second law you're
  306. 13:42going to end up with uh second order
  307. 13:44differential equations because of the
  308. 13:46acceleration term. So acceleration is
  309. 13:48second derivative of positions. Uh so
  310. 13:50you always get uh second order
  311. 13:51differential equations. Second order
  312. 13:53meaning that uh you have double time
  313. 13:55derivatives like double dots for x, y
  314. 13:58and uh and theta. uh and one thing
  315. 14:01that's going to be very useful uh for
  316. 14:03the next uh few lectures uh is taking
  317. 14:06these second order differential
  318. 14:07equations and converting them uh to a
  319. 14:10first order form. Uh so first order
  320. 14:12differential equations. Uh maybe just a
  321. 14:14quick show of hands. How many people
  322. 14:15know how to do this? Like just taking
  323. 14:17these equations which are second order
  324. 14:19uh and converting it to to a system of
  325. 14:21first order uh diffic.
  326. 14:24Okay, I guess everyone who's taken 206
  327. 14:26should should be familiar with this. uh
  328. 14:29but uh but I'll I'll go through the the
  329. 14:31process uh as a as a reminder uh also in
  330. 14:35principle you've seen it in in some
  331. 14:37difficq or calculus course but I think
  332. 14:39it's useful to to go through it uh and
  333. 14:42either kind of remind yourself of of how
  334. 14:43it works uh or just kind of learn how to
  335. 14:46do it. It's relatively simple once you
  336. 14:48get the hang of it. Uh it's something
  337. 14:49that we're going to do a few times uh in
  338. 14:52the course and it's just kind of useful
  339. 14:53to uh to see it uh kind of worked out.
  340. 14:57Um
  341. 14:59so yeah I guess what the the trick here
  342. 15:02so going from second uh to first order
  343. 15:05is to introduce some auxiliary variables
  344. 15:08uh just to define some some new
  345. 15:10variables. So I'm going to define
  346. 15:15uh vx. So v subscript x.
  347. 15:20Uh I'm going to define that to be x dot.
  348. 15:23Uh and the equal with a little triangle
  349. 15:26on top is the definition. So I'm just
  350. 15:28giving this a new name x dot. I'm just
  351. 15:29calling it vx. And then similarly
  352. 15:34vy is going to be y dot.
  353. 15:38uh and omega is going to be theta dot.
  354. 15:43So these are just definitions.
  355. 15:46Uh but what I can do with this is I can
  356. 15:49write
  357. 15:51uh x
  358. 15:53double dot or sorry I can write vx
  359. 15:59uh dot. So the time derivative of vx
  360. 16:03uh is then x dot. So it's the time
  361. 16:05dative of x dot which is which is x dot
  362. 16:10uh which from that equation up there is
  363. 16:14negative u1 sin theta
  364. 16:18uh divided by m.
  365. 16:22Uh and then similarly v y dot
  366. 16:28uh is by this definition it's the time
  367. 16:31derivative of y dot uh which is y dot
  368. 16:37uh which from this equation is u1 cosine
  369. 16:41theta
  370. 16:43uh divided by m minus g
  371. 16:48uh and then finally omega dot
  372. 16:52is theta dot
  373. 16:55uh which is just u2 / i
  374. 17:04uh and yeah basically what this uh
  375. 17:05allows us to to do uh is think of these
  376. 17:09second order differential equations uh
  377. 17:12in first order form. So we now have
  378. 17:16uh six first order differential
  379. 17:18equations.
  380. 17:20Uh so we have x dot is vx y dot is vy uh
  381. 17:25theta dot is is omega uh and then vx dot
  382. 17:29is this vy dot is is this uh and omega
  383. 17:31dot is is this so it's six
  384. 17:37uh first order uh differential equations
  385. 17:40like combining these So
  386. 17:55uh and that's sort of a general thing.
  387. 17:57So if you start off with n second order
  388. 18:00differential equations, uh you go
  389. 18:01through this conversion process, uh
  390. 18:03you're always going to end up with 2n
  391. 18:05first order uh differential equations.
  392. 18:08Um and yeah I guess maybe just to to
  393. 18:10pause here the the trick was to just
  394. 18:13read or to define uh these new
  395. 18:16variables. Uh so giving the time
  396. 18:18derivatives x dot y dot theta dot. Uh we
  397. 18:21just give them new names like new
  398. 18:23variables associated with them. I call
  399. 18:24them vx, vy and n omega. Uh so that
  400. 18:28gives you three first order differential
  401. 18:30equations. You take the derivatives of
  402. 18:33those. Um and then from these equations
  403. 18:36which we got from Newton's second law uh
  404. 18:38you get the the other three first order
  405. 18:41equations. Uh maybe I can just kind of
  406. 18:43write this down in a in a compact form.
  407. 18:46We can define
  408. 18:50the state of the system.
  409. 19:00Uh the planer quadrant over here I'm
  410. 19:02going to call that x
  411. 19:04with a bar. Uh and the the bar kind of
  412. 19:08notation here
  413. 19:11uh we're going to use to to denote
  414. 19:12vectors in the in the course.
  415. 19:15Uh so anything with a a bar is going to
  416. 19:17be a vector quantity. Um so this state
  417. 19:19vector which I'm going to call XAR
  418. 19:22uh is the concatenation of six things.
  419. 19:26So it's X
  420. 19:28Y theta
  421. 19:30uh and then X dot
  422. 19:32Y dot
  423. 19:34and theta dot.
  424. 19:38Uh and then we can also define the
  425. 19:40control inputs
  426. 19:42it over here.
  427. 19:48So the control input vector
  428. 19:54I'll call that u bar
  429. 19:56uh is going to be u1 and u2
  430. 20:01uh where u1 again is the total thrust uh
  431. 20:04which we defined up there and u2 is the
  432. 20:06the total uh moment
  433. 20:08uh and yeah basically what what this
  434. 20:10notation allows us to do is We can write
  435. 20:14down equations
  436. 20:17like all of these equations over here
  437. 20:19which are first order form. Um we can
  438. 20:22kind of combine them. So x dot the time
  439. 20:24derivative of the state vector uh which
  440. 20:26is d / dt
  441. 20:29of x
  442. 20:32uh is equal to
  443. 20:37uh so x dot is is vx
  444. 20:41y dot is v y theta dot is omega. So
  445. 20:45that's these three equations that I'm
  446. 20:48kind of writing over here.
  447. 20:50uh and then
  448. 20:52uh x doty dot theta dot actually I
  449. 20:54should have maybe I'll uh just uh stick
  450. 20:59with my notation
  451. 21:03I'll write this as vx
  452. 21:06v y and omega
  453. 21:10uh so vx dot
  454. 21:13uh we got from over here so negative u1
  455. 21:16sin theta
  456. 21:20divided by m. Uh v y dot uh is u1
  457. 21:27cosine theta / m minus g. Uh and then
  458. 21:31omega dot which is the same as theta dot
  459. 21:33is u2 / i.
  460. 21:40Um and yeah I guess these are uh this is
  461. 21:42our system of first order differential
  462. 21:44equations. So first order because on the
  463. 21:46left hand side we have a single dot not
  464. 21:48a double dot. Uh and yeah I guess on the
  465. 21:50right hand side we just have things that
  466. 21:53involve our state variables our control
  467. 21:55inputs and some physical constants like
  468. 21:58the inertia and the mass of the the
  469. 22:00system. Yeah I guess questions on on
  470. 22:02this process of conversion I guess. Does
  471. 22:04that ring a bell? Maybe raise your hand
  472. 22:06again if if you've seen this before. Uh
  473. 22:08okay most of you good. Uh yeah questions
  474. 22:10on the process. I'm happy to to walk
  475. 22:12through it. uh because it is something
  476. 22:14that's that's kind of just generally
  477. 22:16useful not just in this course but uh if
  478. 22:18you take control theory or other courses
  479. 22:20uh it's good to be comfortable with
  480. 22:21this. Yeah, I'll pause for a minute. See
  481. 22:23if there are questions.
  482. 22:29Okay. So I guess the sort of upshot of
  483. 22:33this uh is that we have our final
  484. 22:36equations of motion
  485. 22:44uh which end up looking like this.
  486. 22:47So if you look at these equations on the
  487. 22:49left hand side we have the time
  488. 22:50derivative of the state. So that's x
  489. 22:52dot. Uh on the right hand side we have
  490. 22:54some function uh of the state variables
  491. 22:58and the control input uh variables. Uh
  492. 23:01and the these this form of of equations
  493. 23:05uh is sort of a a general form
  494. 23:18that any equations of motion will take.
  495. 23:21So the derivative of the state uh is
  496. 23:23some function of the state uh and
  497. 23:26control inputs. Uh and basically what
  498. 23:28this allows us to to do is uh we can
  499. 23:32predict what the system will do. Uh so
  500. 23:34if at some initial time uh I tell you
  501. 23:36what the state of the system is. So I
  502. 23:39give you for the planer quadrotor I give
  503. 23:41you the configuration
  504. 23:42uh which is the x y and theta. I give
  505. 23:45you the initial speeds vx vy uh and and
  506. 23:49omega. uh and let's say I tell you what
  507. 23:51control inputs the drone is going to
  508. 23:53apply over some time horizon uh then
  509. 23:57this differential equation or the system
  510. 23:58of differential equations allows you
  511. 23:59allow you to predict uh exactly what the
  512. 24:02state will be uh at any given future uh
  513. 24:05point in time. uh and that's basically
  514. 24:08the the kind of starting point uh for
  515. 24:10doing motion planning uh in a way that
  516. 24:12accounts for the dynamics of the system
  517. 24:14or to do feedback control uh to to
  518. 24:17correct for uh errors. Um I haven't
  519. 24:20really kind of uh given a sort of
  520. 24:22thorough justification for why we're
  521. 24:24going from second order to first order.
  522. 24:27Uh again, if you've seen if you've taken
  523. 24:29MA 206 or some dynamics class uh then uh
  524. 24:32you've gone through this process many
  525. 24:34times. you've kind of plugged in these
  526. 24:35first order equations into mat lab or or
  527. 24:37python um to predict what your system
  528. 24:40will do. Um I'll we'll kind of have a a
  529. 24:44more thorough justification for why this
  530. 24:46is useful in in future lectures. Uh for
  531. 24:49now just just take it as given. It's
  532. 24:50something that that will be useful uh
  533. 24:53when we think more about dynamics and
  534. 24:55and control. Okay. Uh maybe just one
  535. 24:58more piece of terminology.
  536. 25:01Uh so I said this is a state. This is
  537. 25:03the control input. Uh these three
  538. 25:06variables are known as configuration
  539. 25:08variables.
  540. 25:18Uh so we encountered this in the context
  541. 25:21of geometric motion planning when we
  542. 25:22were thinking about configuration space.
  543. 25:24Uh for the planer quadrotor these three
  544. 25:26variables uh correspond to the three
  545. 25:28degrees of freedom of the the planer
  546. 25:30quadrotor. uh and if I tell you these
  547. 25:33numbers, if I give you these scalers, uh
  548. 25:35then that perfectly defines the
  549. 25:37configuration uh that the planer
  550. 25:38quadrotor is in. So that's why we call
  551. 25:40these uh configuration variables.
  552. 25:43Okay. So yeah, I guess that's a quick
  553. 25:45kind of sketch of uh equations of motion
  554. 25:48uh for the planer quadrotor.
  555. 25:52Uh I also want to sketch the equations
  556. 25:56for the full 3D quadrotor. Uh I'm not
  557. 25:59going to go into kind of detail here uh
  558. 26:02and write down the full equations. Uh in
  559. 26:04the notes which I posted on canvas uh I
  560. 26:06have a pointer to a reference uh that
  561. 26:08has the the full equations written out.
  562. 26:10Uh I guess the goal for this course is
  563. 26:12just to understand the general structure
  564. 26:15of equations of motion like the fact
  565. 26:16that they're always going to have this
  566. 26:19form x dot equals f ofxq.
  567. 26:22uh and then once you're kind of given
  568. 26:24those equations uh making use of them uh
  569. 26:27I don't expect you to be able to derive
  570. 26:28equations of motion uh in this course
  571. 26:31again if you're an MA student you should
  572. 26:32be able to do it but uh there's no
  573. 26:34expectation that that you can uh in this
  574. 26:36course so for this course we're just
  575. 26:37going to assume that maybe one of your
  576. 26:39MAE friends has kind of derived
  577. 26:41equations of motion for you uh we write
  578. 26:43them down in this general kind of first
  579. 26:45order form uh and then we're just going
  580. 26:47to use them for motion planning or
  581. 26:48feedback control Okay. So, yeah, let's
  582. 26:52start thinking a bit about the 3D
  583. 26:54quadrotor.
  584. 27:03Um, so yeah, I guess the the first
  585. 27:05question uh as usual is is just how many
  586. 27:07degrees of freedom
  587. 27:11uh does this system have? So, we
  588. 27:13discussed this in a previous lecture.
  589. 27:14So, there's six degrees of freedom. Uh
  590. 27:18so three degrees of freedom
  591. 27:19corresponding to the translation of the
  592. 27:21the drone. Uh so three coordinates that
  593. 27:24you need to specify the center of mass
  594. 27:26uh location. Uh and then three degrees
  595. 27:29of freedom for the orientation of the
  596. 27:31the drone. Um,
  597. 27:34so yeah, what I want to do next is just
  598. 27:36give you a quick
  599. 27:42uh description of how we describe the
  600. 27:46orientation of the the drone which uh in
  601. 27:49this class we're going to do using oiler
  602. 27:51angles. Uh maybe another quick show of
  603. 27:54hands. How many of you have seen oiler
  604. 27:55angles before? Okay, a number of you.
  605. 27:57Okay, so yeah, hopefully this will be a
  606. 27:58recap for for most people. Um yeah, I
  607. 28:02guess the way angles work uh is you
  608. 28:06attach
  609. 28:08um some frame uh so some directions uh
  610. 28:14we'll write it like this. So we have
  611. 28:17three directions let's say
  612. 28:22ex ey and ez
  613. 28:26uh these are our inertial directions. So
  614. 28:30some reference frame let's say attached
  615. 28:31to the room uh that you're you're
  616. 28:33working in. Uh and then you have some
  617. 28:41uh some direction some frame that's
  618. 28:43attached to the the body of the the
  619. 28:45drone. So its origin is at the center of
  620. 28:48mass of the the drone. So I'll call it O
  621. 28:49prime. Uh and we have three directions
  622. 28:52here. So uh bx
  623. 28:57uh which is sort of the forward
  624. 28:59direction
  625. 29:03uh b y
  626. 29:07which is the left direction
  627. 29:11uh and then bzz which is up.
  628. 29:19Um and yeah, this these axes are
  629. 29:22attached to the the body of the the
  630. 29:24drone. Um so for our drone, uh if you
  631. 29:27look carefully,
  632. 29:29uh there's a little kind of uh nub, uh
  633. 29:32which denotes the the forward uh
  634. 29:34direction. Um so that direction is going
  635. 29:36to be positive x. Uh so forward is is
  636. 29:39positive x. Uh left is positive y and
  637. 29:44then z is up. Uh so that forms a
  638. 29:46right-handed uh coordinate system. Uh
  639. 29:49that's the convention that we're going
  640. 29:50to use throughout uh for the course. So
  641. 29:52in particular for the lab that goes out
  642. 29:53tomorrow. Uh that's the the coordinate
  643. 29:56system that we we're going to be using.
  644. 29:57So you'll have a chance to implement the
  645. 29:59RT algorithm. Uh for the RT algorithm, X
  646. 30:01is going to be forward, Y is going to be
  647. 30:04left, and then yeah, I guess Z is just
  648. 30:05going to be up. Um yeah, that's that's
  649. 30:07the convention that that we'll follow.
  650. 30:10Um so yeah let's say we've defined these
  651. 30:12axes uh that are attached to the the
  652. 30:15body of the drone. Uh these axes will
  653. 30:17move around uh as the the drone moves
  654. 30:20and and tilts. Um so the way our angles
  655. 30:24work like the way we define uh
  656. 30:27orientations
  657. 30:40uh is a basically a three-step uh
  658. 30:43process. Uh so the first step
  659. 30:48is you rotate
  660. 30:51actually there's a zero step which is
  661. 30:54like align
  662. 30:57the body frame
  663. 31:03with the inertial frame.
  664. 31:13Uh so just start off with the the drone
  665. 31:15kind of aligned with the inertial axis.
  666. 31:17So bx is ex y is ey. Bz is ez. And then
  667. 31:23the first step is to to rotate uh the
  668. 31:25the body frame. Uh which I'm going to
  669. 31:28call b. Uh so yeah the body frame is is
  670. 31:32b.
  671. 31:34Uh so rotate B about EX
  672. 31:44uh with some angle
  673. 31:47uh which I'm going to call five. Uh so
  674. 31:50this angle is called the roll angle.
  675. 31:55Um so maybe just going back to the the
  676. 31:57drone over here. Uh so again forward
  677. 32:01uh is the the positive x direction. Uh
  678. 32:05so we always when we apply rotations we
  679. 32:07always apply it with the right hand
  680. 32:09rule. So you point the the thumb along
  681. 32:11that direction uh and then you rotate uh
  682. 32:13kind of clockwise. Um so the first step
  683. 32:15here is to to do the rotation about the
  684. 32:18the positive x direction. Uh so that's
  685. 32:20this angle over here. Uh so that that's
  686. 32:23step one. Uh and then step two is to
  687. 32:26rotate about the ey
  688. 32:43which I'm going to call theta. Uh and
  689. 32:45this will be the pitch.
  690. 32:50Uh and then the third step
  691. 32:56is to rotate B
  692. 33:00uh about
  693. 33:02EZ the Z inertial direction uh by
  694. 33:06another angle uh which I'm going to call
  695. 33:08S. So this is going to be Y
  696. 33:14uh and yeah maybe I can just visualize
  697. 33:16this again. Uh so again if you want to
  698. 33:18describe some arbitrary orientation that
  699. 33:21the the drone is in uh you first start
  700. 33:23off with the drone being aligned to the
  701. 33:26inertial axis uh you then rotate about
  702. 33:28the positive x direction. So that's this
  703. 33:31that's role uh then you rotate about the
  704. 33:34positive y direction. So that's sort of
  705. 33:37the left inertial direction. uh if we do
  706. 33:40a uh again apply the the right hand rule
  707. 33:43uh positive pitch by this convention uh
  708. 33:45is kind of pitching down uh and then the
  709. 33:48last step is rotate about the ez
  710. 33:51direction again right hand rule uh so we
  711. 33:53go this way yeah I guess does that make
  712. 33:56sense questions on the steps yeah
  713. 33:59question
  714. 34:00>> yeah of course yeah yeah so uh forward
  715. 34:03is is positive uh positive x um so
  716. 34:06that's this direction over
  717. 34:08Uh so the first step is uh rotate about
  718. 34:11that axis by some angle phi. Uh so
  719. 34:15that's this rotation. Uh and then the
  720. 34:18second one is uh rotate uh again using
  721. 34:21the right hand rule uh about ey. Ey is
  722. 34:24the the left sort of inertial axis which
  723. 34:26is this way. Um so again right hand rule
  724. 34:30uh means you go this way. Uh so that's
  725. 34:32positive theta. Uh and then the third
  726. 34:34direction is you uh rotate about
  727. 34:37positive EZ which is the vertical axis
  728. 34:40in the room. So that's going to be this
  729. 34:42way. Uh and yeah, I guess that the key
  730. 34:44result uh behind all angles is that any
  731. 34:48arbitrary orientation of the drone like
  732. 34:50no matter what sort of random
  733. 34:52configuration your drone is in uh you
  734. 34:54can always describe that orientation uh
  735. 34:57using these three numbers. Um so
  736. 34:59whatever kind of configuration of the
  737. 35:01drone or orientation of the drone you
  738. 35:02give me uh I can give you three numbers
  739. 35:055 theta s uh such that if I go through
  740. 35:07this uh sequence of rotations uh then I
  741. 35:10will get to the arbitrary orientation
  742. 35:13that you specified and we can do this
  743. 35:15for for any uh rotation. Um these
  744. 35:19numbers are not necessarily unique. So
  745. 35:21there might be uh two sets of pi theta
  746. 35:24si that describe the same physical
  747. 35:25orientation. uh that's not something
  748. 35:27we're going to sort of bother with in
  749. 35:29this course. There are more
  750. 35:30sophisticated uh ways of uh describing
  751. 35:32orientations using quitterians for
  752. 35:34example. Uh yeah, I guess for for this
  753. 35:36course we'll just keep it simple, use
  754. 35:38our angles. Uh and yeah, this is the
  755. 35:41process by which we're going to describe
  756. 35:42orientations for the the drone. Uh maybe
  757. 35:46just one quick note. uh what I've
  758. 35:49described over here is what's known as
  759. 35:51the space
  760. 35:55uh one two three or maybe XYZ
  761. 36:02uh convention.
  762. 36:10Uh it turns out that there are many many
  763. 36:12conventions that that you could use. Um
  764. 36:15the name here comes from the fact that
  765. 36:18uh we're doing the rotations about the
  766. 36:20inertial axis. So ex ey ez. So that's
  767. 36:24the the space part. Uh there's a whole
  768. 36:27kind of different set of conventions
  769. 36:28which are body conventions. Uh meaning
  770. 36:31that you uh always rotate about the the
  771. 36:35new sort of intermediate axes uh that
  772. 36:37the body frames are in. So when you do
  773. 36:39the the first rotation uh you get some
  774. 36:41new frame some new bx b y bz uh and then
  775. 36:45you rotate about one of those directions
  776. 36:47you get another new frame and then you
  777. 36:49rotate about one of those new
  778. 36:50directions. Uh so those are called like
  779. 36:52body something something something
  780. 36:54conventions. Uh we're not going to use
  781. 36:56them in in this class just to kind of
  782. 36:58keep things uh simple. Uh we're going to
  783. 37:00stick to the space 123 convention. Even
  784. 37:03within the space conventions or the body
  785. 37:05conventions, there's multiple choices
  786. 37:07that that you have. Uh here we're
  787. 37:10choosing to do EX followed by EY
  788. 37:13followed by EZ. Uh you could do the
  789. 37:16opposite. You could do EZ followed by EY
  790. 37:19followed by EX. Uh or you could do sort
  791. 37:22of 31213.
  792. 37:24There's many permutations. Uh some of
  793. 37:27them are are not valid. Like if I of
  794. 37:28course do 111 like that's a sort of
  795. 37:30useless convention. Uh but uh there's a
  796. 37:34bunch of like non-trivial conventions
  797. 37:35that are all kind of equally valid. Uh
  798. 37:38and depending on the particular uh
  799. 37:40domain uh that you happen to be working
  800. 37:42in, whether it's like aerospace or
  801. 37:43something else, uh people like different
  802. 37:46conventions just for purely historical
  803. 37:48and maybe convenience reasons. Uh but
  804. 37:51again, as I mentioned, we're going to
  805. 37:52just kind of forget about all the
  806. 37:54different conventions. Uh for the
  807. 37:56purpose of this course, we're just going
  808. 37:57to stick to this particular oiler angle
  809. 38:00convention. of space meaning that we do
  810. 38:02the rotations about the inertial axis 1
  811. 38:062 3 meaning that we first do the
  812. 38:08rotation about x uh then the rotation
  813. 38:10about y uh and then the rotation about z
  814. 38:14okay yeah questions let me pause here
  815. 38:16and see if there are questions I guess
  816. 38:17if you haven't seen order angles or if
  817. 38:18you have yeah go ahead
  818. 38:20>> is there advantages to using body fix
  819. 38:21frames in the sense that like it enables
  820. 38:23you to define it relative to your
  821. 38:25controller like inputs because your
  822. 38:27forces are also like yeah your engines
  823. 38:29are defined So there are there are some
  824. 38:31benefits uh particularly on the sensing
  825. 38:34side. Uh you might it might be sort of
  826. 38:36easier to to make some measurements like
  827. 38:38in the in the body frame. Uh but yeah
  828. 38:40you can kind of go back and forth like
  829. 38:42if I give you one convention uh and you
  830. 38:44want to do the conversion to another
  831. 38:46convention you can yeah you can do that
  832. 38:48that conversion. Uh but yeah I guess in
  833. 38:50practice using multiple conventions
  834. 38:52causes a lot of headache and confusion.
  835. 38:55Uh yeah, I remember in grad school I was
  836. 38:57trying to get a model for a fixed wing
  837. 38:59airplane. Uh and I wasted about like
  838. 39:02three months one one summer uh because I
  839. 39:04was using some particular convention
  840. 39:06that I thought the motion capture system
  841. 39:08was giving me. Yeah, it turned out the
  842. 39:10motion capture was system was giving me
  843. 39:11some other convention uh and I didn't
  844. 39:13realize it and yeah I I knew to look for
  845. 39:15it and I still made the mistake. Uh and
  846. 39:17yeah, it's just like a super common uh
  847. 39:19error. Um like thinking that you're
  848. 39:22using one convention and then somehow
  849. 39:24ending up using equations for the other
  850. 39:26convention. Um just for convenience
  851. 39:28purposes here, we're just going to just
  852. 39:30use this one particular convention. In
  853. 39:33some sense, the simplest one like doing
  854. 39:35the rotations about the inertial frames
  855. 39:36and just one, two, three. Yep. But but
  856. 39:39there are good reasons and also bad
  857. 39:41reasons I guess to to use other
  858. 39:42conventions. Yeah. Other questions?
  859. 39:47Okay, cool. So, yeah, I guess that's how
  860. 39:49we describe u orientations for our 3D
  861. 39:52drone. Uh, so that gives us a reason for
  862. 39:55why we have six degrees of freedom. Uh,
  863. 39:57so three coordinates to specify the
  864. 39:59translational location of the drone. So,
  865. 40:01the center of mass of the drone. Uh, and
  866. 40:03then these three coordinates, the aller
  867. 40:05angles uh to describe the orientation of
  868. 40:08the the drone.
  869. 40:10All right.
  870. 40:23Um so with that we can write down the
  871. 40:26state
  872. 40:32of the 3D
  873. 40:38uh drone quadrotor.
  874. 40:44Uh maybe just a quick check how many
  875. 40:48dimensions will the state vector for the
  876. 40:513D quadrotor have.
  877. 40:54So we defined the state for the planer
  878. 40:56quadrotor up there.
  879. 41:03Go ahead in the front. Yeah. 12. Yeah.
  880. 41:05Maybe uh just give a quick explanation.
  881. 41:08because there's six degrees of freedom,
  882. 41:11we're going to put the velocity.
  883. 41:13>> Perfect. Yeah. So when you when you
  884. 41:15apply Newton's second law, you're going
  885. 41:16to end up with uh six second order
  886. 41:19differential equations. Um so
  887. 41:21corresponding to each of the degrees of
  888. 41:23freedom, six degrees of freedom. Uh when
  889. 41:25we go through this conversion from
  890. 41:26second order to first order, uh you're
  891. 41:28always going to double the number of
  892. 41:30equations you end up with. So six second
  893. 41:32order differential equations is going to
  894. 41:34mean 12 first order differential
  895. 41:36equations. So that's the state of the
  896. 41:38quadrotor uh or that that's the
  897. 41:40dimensionality of the state. Um and yeah
  898. 41:43I guess the state vector itself you have
  899. 41:45some flexibility in in uh in the way you
  900. 41:49define it. Uh the typical definition is
  901. 41:53x
  902. 41:55y z. So the center of mass location
  903. 42:04say coom m center of mass
  904. 42:07uh and then 5 theta s which is the oiler
  905. 42:11angles
  906. 42:18oiler angles according to whatever
  907. 42:20convention you picked which again will
  908. 42:22be the space 1 to3 convention for this
  909. 42:24course. Uh and then you can have the the
  910. 42:27sort of uh speed terms like the time
  911. 42:29derivative terms. So x dot
  912. 42:33um maybe I'll I'll I'll stick to that
  913. 42:35same notation. So vx
  914. 42:38v y vz.
  915. 42:42So these are uh x dot
  916. 42:46y dot z dot.
  917. 42:50uh and then something to do with the
  918. 42:53time derivatives of the oiler angles. Uh
  919. 42:56so we could choose these last three uh
  920. 42:59variables in the in the state to be fi
  921. 43:01dot theta dot dot. That's a kind of
  922. 43:03perfectly valid uh definition of the the
  923. 43:06state. uh in practice it turns out that
  924. 43:08it's a little bit more convenient
  925. 43:11uh to work with
  926. 43:14uh PQ and R which are
  927. 43:18these define the angular velocity of the
  928. 43:20drone.
  929. 43:31Um yeah, they sort of have to do with
  930. 43:34like how quickly the the drone is uh um
  931. 43:38its orientation is changing along these
  932. 43:40different axes exe or or like the the
  933. 43:43body axes. Um using this definition
  934. 43:47instead of fa side dot just makes the
  935. 43:50equations a little bit more kind of
  936. 43:51compact and easier to work with. Um but
  937. 43:54you can go back and forth. So if I give
  938. 43:56you uh phi do theta dot dot dot dot dot
  939. 43:58dot dot dot dot dot dots dot so the time
  940. 43:59derivatives of the angles and I give you
  941. 44:01the angles then you can compute pq and r
  942. 44:04and then similarly you can kind of
  943. 44:06basically go from pq and r and the other
  944. 44:09angles to phi do theta dot side dot. So
  945. 44:11in in theory you can kind of switch back
  946. 44:14and forth uh between uh maybe I'll just
  947. 44:17write it over here. So you can switch
  948. 44:18back and forth between the oiler angle
  949. 44:21rates. So fi dot
  950. 44:24theta dot si dot
  951. 44:29uh and pq and r which is the angular
  952. 44:31velocity vector.
  953. 44:37Okay. So yeah this is the the state. So
  954. 44:3912 uh dimensions kind of as as expected.
  955. 44:42Uh and then we also have the control
  956. 44:44input
  957. 44:46vector.
  958. 45:10Um, so the control inputs, the things
  959. 45:12that the the drone kind of directly
  960. 45:13controls, uh, are the thrust forces for
  961. 45:16each of the the propellers. Uh, so these
  962. 45:19are f_sub_1,
  963. 45:22f_sub_2, f_sub_3, f_sub_4.
  964. 45:27Um so these are each of these is a
  965. 45:29scalar just the amount of thrust uh that
  966. 45:32each propeller four propellers is is
  967. 45:34producing. Uh it turns out again just
  968. 45:36for for some sort of convenience reasons
  969. 45:39uh it's useful to define the control
  970. 45:43input in a slightly different way. Uh so
  971. 45:47U is usually defined as
  972. 45:50F
  973. 45:51total uh the total thrust uh and then
  974. 45:55three moments M1, M2,
  975. 45:59M3.
  976. 46:02Uh so that
  977. 46:04F total is just the summation of the
  978. 46:07four thrust forces
  979. 46:12plus F4.
  980. 46:14uh and then m1 m2 m3 this is the these
  981. 46:17are the moments so the torqus produced
  982. 46:20about each axis so moment about
  983. 46:26uh the bx direction uh the moment about
  984. 46:29the b y direction
  985. 46:33and then the moment about the bz
  986. 46:34direction
  987. 46:38uh which you can compute from f1 f2 f3
  988. 46:41f4 uh and also the the geometry of the
  989. 46:43the drone
  990. 46:45Um yeah, I'm sort of just uh going
  991. 46:47through things at a at a relatively high
  992. 46:48level here. My main goal is to uh to
  993. 46:51just emphasize that at the end like once
  994. 46:55you derive the equations of motion uh
  995. 46:57you go through this process of
  996. 46:59converting from second order to first
  997. 47:01order. Uh you're again going to end up
  998. 47:03with equations that have this general
  999. 47:06form that we saw for the planer
  1000. 47:09quadrotor.
  1001. 47:14uh which is I'll just write it here.
  1002. 47:17Um so you'll get equations of motion
  1003. 47:29uh which are x dot
  1004. 47:31equals some function of x and u.
  1005. 47:39Uh and again I'm not going through the
  1006. 47:40writing down the the full kind of
  1007. 47:41explicit equations for the the 3D
  1008. 47:43quoter. They're a little bit messy.
  1009. 47:45They're kind of long. uh but what I want
  1010. 47:48to kind of just convey for the the
  1011. 47:49purpose of this course is you go through
  1012. 47:52uh the derivation with Newton's second
  1013. 47:54law uh and you're just going to get
  1014. 47:57equations that have this general form
  1015. 47:58right so the time derivative of your
  1016. 48:00state uh defined in this way in in that
  1017. 48:02way uh is some function of the state and
  1018. 48:05the control input um and this
  1019. 48:08differential equation or the system of
  1020. 48:10first order differential equations uh
  1021. 48:12allows you to predict uh exactly what
  1022. 48:15the state of the drone will at any
  1023. 48:16future time given the initial state and
  1024. 48:19the control inputs that your drone is
  1025. 48:21going to to apply. Yeah, I guess
  1026. 48:23questions on uh on any of this. Go
  1027. 48:26ahead.
  1028. 48:27>> Uh is M3 a function of the forces or is
  1029. 48:30it more of a function of like drag on
  1030. 48:32the
  1031. 48:32>> good. Okay, so that that was actually
  1032. 48:34going to be the the very next uh thing I
  1033. 48:35I wanted to to talk about. Um so I
  1034. 48:39mentioned right at the beginning that
  1035. 48:40there's some relationship between kind
  1036. 48:42of forces uh like these thrust forces uh
  1037. 48:46and what the drone actually controls. So
  1038. 48:48what's actually being controlled uh is
  1039. 48:50not kind of directly the force uh you're
  1040. 48:53applying some current on the motor uh
  1041. 48:55and that controls the uh the speed the
  1042. 48:57rotational speed uh of each propeller.
  1043. 49:01Um yeah, it turns out there's a nice
  1044. 49:03relationship between the rotational
  1045. 49:05speed uh and the thrust and also the the
  1046. 49:07moment uh that you're referring to. So
  1047. 49:09I'm going to just quickly sketch that
  1048. 49:11out. So this is often referred to as a
  1049. 49:14motor model
  1050. 49:16in the context of kind of drone uh
  1051. 49:19dynamics.
  1052. 49:20Uh and the the nice relationship is that
  1053. 49:23the thrust force
  1054. 49:25on any motor. So I here is indexing the
  1055. 49:28the four motors. Uh the thrust force is
  1056. 49:32equal to some constant
  1057. 49:36uh times omega I squared. Uh so I here
  1058. 49:44is 1 2 3 4. So four propellers.
  1059. 49:49uh f_subi is the thrust
  1060. 49:55uh from propeller i.
  1061. 50:03Uh and then omega I is the rotational
  1062. 50:06speed
  1063. 50:13uh squared
  1064. 50:17rotational speed of the propeller.
  1065. 50:24Uh and then this thing is called the
  1066. 50:26thrust coefficient.
  1067. 50:36Uh so this thrust coefficient KF uh has
  1068. 50:39to do basically with the geometry of the
  1069. 50:41propeller. Um so you could imagine if
  1070. 50:44you have a kind of large propeller uh
  1071. 50:46the thrust coefficient might be larger
  1072. 50:47or depending on exactly what the pitch
  1073. 50:49of the the blades looks like. Uh that
  1074. 50:51determines what this constant is. Uh but
  1075. 50:55this is something that we have to
  1076. 50:56typically measure empirically. uh like
  1077. 50:59you could have some kind of
  1078. 51:00computational fluid dynamics model uh of
  1079. 51:03the uh the propeller and its geometry
  1080. 51:06and and try to figure out what this is.
  1081. 51:08Uh but in practice it's kind of much
  1082. 51:10more convenient to to just empirically
  1083. 51:12measure what this is for your particular
  1084. 51:14drone. Uh maybe thoughts on how you
  1085. 51:16would measure it. So let's say I gave
  1086. 51:18you this drone uh and then we want to
  1087. 51:20measure this thrust coefficient. Uh
  1088. 51:22that's something actually Kian who's
  1089. 51:24sitting at the at the back uh we had to
  1090. 51:25redo this because we had new drones uh
  1091. 51:27this year. So we had to do this
  1092. 51:29experiment to figure out uh what's the
  1093. 51:31thrust coefficient which is something
  1094. 51:32that we'll use uh in later assignments.
  1095. 51:35Um yeah I guess thoughts on how you
  1096. 51:37might measure this thrust coefficient
  1097. 51:39for for a particular drone
  1098. 51:43>> like some experiments we could we could
  1099. 51:45do.
  1100. 51:47>> Yep. Go ahead.
  1101. 51:54>> Yeah. Good. I guess how would you record
  1102. 51:55the thrust from the propeller?
  1103. 51:58Uh you could see compare that to like
  1104. 52:02gravity and see how fast the drone
  1105. 52:04moves.
  1106. 52:05>> You could do that. Uh so that's
  1107. 52:06reasonable. I guess you would need some
  1108. 52:08motion capture system or or some way to
  1109. 52:10to estimate the position of the drone.
  1110. 52:12Um which might get get noisy, but but
  1111. 52:15that's a perfectly reasonable idea. I
  1112. 52:16guess other thoughts.
  1113. 52:17>> You just said steady state with like
  1114. 52:18var.
  1115. 52:19>> Uh you could put different weights
  1116. 52:20underneath. Uh then you have to get a
  1117. 52:22bunch of weights and kind of tie it and
  1118. 52:25get it to steady state. also reasonable
  1119. 52:26but just a bunch of work. We want to be
  1120. 52:28as lazy as possible. Go ahead. Yeah.
  1121. 52:30>> Could you just tie it to a scale and
  1122. 52:32>> Yeah, you could tie it to a scale and
  1123. 52:33and just measure the uh the forces. Um
  1124. 52:36yeah, I guess what what we do is uh what
  1125. 52:39we did for for this course is uh just
  1126. 52:41use a weighing scale uh and just uh flip
  1127. 52:43the the drone uh so that way it's
  1128. 52:46pressing down on the the weighing scale
  1129. 52:48uh and you can directly measure the
  1130. 52:49thrust just from a kind of digital
  1131. 52:51scale. Uh there's one complication here
  1132. 52:53which is that if you uh flip it and you
  1133. 52:56place it on the uh on the wing scale, uh
  1134. 53:00there's a propw wash effect. Uh so the
  1135. 53:02propellers are blowing air onto the wing
  1136. 53:04scale. That air is coming back and kind
  1137. 53:06of creating lift for the drone. Uh so
  1138. 53:08you'll actually get incorrect
  1139. 53:09measurements if you just directly place
  1140. 53:11it on the wing scale. Uh so what you
  1141. 53:13need to do is like raise it up high like
  1142. 53:14on one of those like chemistry stand
  1143. 53:16things and that way there's no prop
  1144. 53:18wash, propeller wash effect. Um, so
  1145. 53:21yeah, that that's an experiment you can
  1146. 53:22do. So just kind of flip it, put it on a
  1147. 53:24wing scale. Uh, on the x- axis,
  1148. 53:28measure omega i squared. On the y-axis,
  1149. 53:32measure the thrust.
  1150. 53:34Uh, yeah, I guess take into account the
  1151. 53:36fact that there are four motors. So
  1152. 53:37there's four times the thrust that's
  1153. 53:39being produced total. And then just
  1154. 53:42sweep through a bunch of values on the
  1155. 53:44x-axis. You'll get a nice kind of neat
  1156. 53:46curve or neat uh line. uh and the the
  1157. 53:50slope of that line is the uh the thrust
  1158. 53:52coefficient. Okay, so going back to yeah
  1159. 53:55I guess the the question that was asked
  1160. 53:57about uh the moment um yeah maybe I'll
  1161. 54:01I'll pose this as another question. So,
  1162. 54:03so far we've only talked about the
  1163. 54:05thrust force uh that the propellers are.
  1164. 54:07Oh, sorry. Question. Go ahead. I'm
  1165. 54:08sorry.
  1166. 54:09>> This requires us to assume that all the
  1167. 54:10motors are basically identical, right?
  1168. 54:12>> Yes. Which is not going to be perfect.
  1169. 54:14Uh and and this model by the way itself
  1170. 54:16is not perfect like it's just an
  1171. 54:18aggregate kind of aerodynamics model. Uh
  1172. 54:20but it's good enough for a lot of the uh
  1173. 54:22the basic things that you might want to
  1174. 54:24do with a drone. Yep. Okay. Okay. So I
  1175. 54:26guess question uh for for you to think
  1176. 54:28about is uh how does the drone so we
  1177. 54:31said that the drone cannot translate
  1178. 54:33horizontally like there's no way for the
  1179. 54:35drone to apply a force in the kind of
  1180. 54:38purely horizontal direction. Uh but it
  1181. 54:40is possible for the drone to yaw in
  1182. 54:42place like just change the orientation
  1183. 54:45about the zaxis.
  1184. 54:48Uh, I guess any thoughts on how this is
  1185. 54:50possible? Like how how's it possible for
  1186. 54:51the drone to just kind of go like this?
  1187. 54:57>> Go ahead. Yeah.
  1188. 54:59>> Uh, you can have the rotors spinning in
  1189. 55:01opposite directions.
  1190. 55:02>> Yeah.
  1191. 55:02>> And if uh you slow down to like the the
  1192. 55:06rotors that are spinning in a specific
  1193. 55:08direction, then you have higher drag
  1194. 55:10force. That's
  1195. 55:12>> the Yeah, that's exactly right. So, uh,
  1196. 55:15I think it's easiest to visualize this
  1197. 55:17with a kind of top view of the the
  1198. 55:19drone.
  1199. 55:31Uh, so if you look at the the drone from
  1200. 55:33the the top
  1201. 55:39um, so it has this shape. These are the
  1202. 55:41the propellers.
  1203. 55:45Um so adjacent motors or propellers
  1204. 55:48actually spin in opposite directions. So
  1205. 55:51this one spins clockwise.
  1206. 55:54Uh this one spins counterclockwise. CCW.
  1207. 55:58Uh this one will spin clockwise.
  1208. 56:02Uh and then this one will spin
  1209. 56:04counterclockwise.
  1210. 56:07Uh so any adjacent pair of propellers if
  1211. 56:10you look at the the drone spinning um
  1212. 56:14uh these will be spinning in in opposite
  1213. 56:16directions. Uh and basically what
  1214. 56:18happens is that there's a aerodynamic
  1215. 56:20drag.
  1216. 56:26So this comes from Newton's third law.
  1217. 56:29Uh so the drone is applying some moment
  1218. 56:31on the on the air. The air is applying a
  1219. 56:33moment kind of in the opposite
  1220. 56:34direction. Um so there's an aerodynamic
  1221. 56:37drag due to the the spinning of the the
  1222. 56:38propeller. Uh so each of these
  1223. 56:41propellers is is producing some some
  1224. 56:43aerodynamic drag. Uh and then if you
  1225. 56:46basically control um the the speeds of
  1226. 56:49the the propellers, uh you can create a
  1227. 56:52drag. Let's say you want the drone to
  1228. 56:53spin clockwise. Uh then you increase
  1229. 56:56these two motors. Uh you decrease these
  1230. 56:59ones uh and then that's going to cause
  1231. 57:01your uh drone to to go in one direction.
  1232. 57:04And if you kind of do the opposite then
  1233. 57:05it's going to yaw in the in the opposite
  1234. 57:07direction. Uh and there's a similar
  1235. 57:10relationship here. So the aerodynamic
  1236. 57:11drag I'll call it mi
  1237. 57:15arrow
  1238. 57:17uh is equal to some other coefficient.
  1239. 57:20This is called the moment coefficient
  1240. 57:30uh times again omega i^ 2 where omega i
  1241. 57:34is the same as before. It's the
  1242. 57:35rotational speed of a of a propeller.
  1243. 57:38Um, so maybe your hand, uh, okay, so
  1244. 57:43there's a question about like how,
  1245. 57:47yeah, if you haven't thought about this
  1246. 57:48before, uh, it's a little bit
  1247. 57:49counterintuitive. Like, if if one of my
  1248. 57:51propellers is spinning clockwise, the
  1249. 57:53other spinning counterclockwise,
  1250. 57:55uh, why isn't one of them producing like
  1251. 57:57negative thrust?
  1252. 58:00That's what you might might expect. Go
  1253. 58:01ahead. Yeah,
  1254. 58:03>> you could change the pitch.
  1255. 58:05>> Yeah, exactly. So if you if you look at
  1256. 58:06the the drones, I guess you'll have a
  1257. 58:08chance in the the next assignment, uh
  1258. 58:10the the pitch, so the the way the uh the
  1259. 58:13blades are oriented uh is flipped. Um so
  1260. 58:16if you're uh propellers are spinning
  1261. 58:18this way or that way, uh you make sure
  1262. 58:21that that the the pitch like the the way
  1263. 58:23the the rotors are angled, the blades
  1264. 58:25are angled, uh flips accordingly. So
  1265. 58:27you're always producing positive thrust.
  1266. 58:28Uh so you're not doing some kind of
  1267. 58:29weird thing by producing negative
  1268. 58:31thrust. Okay, questions on this.
  1269. 58:37All right, so yeah, I think that's
  1270. 58:39mostly kind of what I had uh in terms of
  1271. 58:41the dynamics of the drone. So,
  1272. 58:43understanding the motor model, uh
  1273. 58:45understanding the state, the control
  1274. 58:46input, uh the fact that you get
  1275. 58:48equations like this, um if you want to
  1276. 58:51see the equations written out, again, I
  1277. 58:52have a pointer uh to a reference in the
  1278. 58:55in the notes. Uh and there's a bit more
  1279. 58:57discussion about how to get these
  1280. 58:58equations in the in the notes as well.
  1281. 59:00Uh what I want to do I think we have
  1282. 59:01about 15 uh minutes or so. Uh I want to
  1283. 59:04say a little bit about the the next uh
  1284. 59:06lab and and some of the logistics. So
  1285. 59:07it's going to go out tomorrow. Uh it'll
  1286. 59:09be due uh the weddness day after.
  1287. 59:14Okay. So uh I mentioned this in the the
  1288. 59:16very first uh lecture. Um we have two
  1289. 59:19lab spaces uh that that that we were
  1290. 59:22able to to get uh this year. Um, so I
  1291. 59:25always kind of cap the the course based
  1292. 59:27on how much lab space we're able to to
  1293. 59:29acquire any given year. Uh, this year 72
  1294. 59:31students total, like 60 in the 345
  1295. 59:34version, 12 in the in the grad version.
  1296. 59:36Uh, one of the spaces is G109. This is
  1297. 59:39in the the G-wing. I mean, both are in
  1298. 59:41the Equad. Uh, this is in the G-wing uh
  1299. 59:43of the Equad. Uh, and this is what it
  1300. 59:46looks like. There's two netted spaces.
  1301. 59:48Uh, yeah, each space is sort of
  1302. 59:51separated by this kind of middle
  1303. 59:52netting. Uh, and there's a bunch of
  1304. 59:54drones and and other stuff uh in in the
  1305. 59:57space. So, this is G109. Uh, and then we
  1306. 59:59have a slightly smaller space in the
  1307. 1:00:01F-wing. Uh, this is the the C's uh
  1308. 1:00:05robotics lab. Um, I guess quick show of
  1309. 1:00:07fans if you don't know where it is.
  1310. 1:00:10Okay. It's like basically if you enter
  1311. 1:00:11the Equad uh it's just on the left
  1312. 1:00:13there's a a large robotics lab. Part of
  1313. 1:00:16that space we're we're using for for
  1314. 1:00:17teaching this here. Uh it's basically
  1315. 1:00:19right by the Equad cafe. um uh another
  1316. 1:00:22kind of net zone some some uh space for
  1317. 1:00:25uh seating uh for for students. Um so
  1318. 1:00:28the the very first lab uh which is going
  1319. 1:00:30to be the the one that goes out uh
  1320. 1:00:32tomorrow uh is to implement the RT
  1321. 1:00:35algorithm uh which we discussed in the
  1322. 1:00:37the previous lecture uh to plan a
  1323. 1:00:40collision free trajectory for the the
  1324. 1:00:42drone. Uh and we're going to make sort
  1325. 1:00:44of all the the assumptions that we've
  1326. 1:00:46made so far for the RT algorithm. uh
  1327. 1:00:49we're going to assume that there's a map
  1328. 1:00:50of the environment that's provided to
  1329. 1:00:52the algorithm. Uh here we're going to
  1330. 1:00:54use the sort of simplest possible
  1331. 1:00:56mapping algorithm which is U. So you're
  1332. 1:00:58going to just measure uh where the
  1333. 1:01:00obstacles are. There's a a tape measure
  1334. 1:01:02uh in the in the room. Uh just measure
  1335. 1:01:04out where the obstacles are, measure the
  1336. 1:01:06radius of the obstacles. Uh that's going
  1337. 1:01:08to be the map. Obviously, we're going to
  1338. 1:01:10have more sophisticated ways of mapping
  1339. 1:01:12later on in the course. Uh but for the
  1340. 1:01:14purpose of this lab, just kind of
  1341. 1:01:15measure where they are. uh that defines
  1342. 1:01:17what the environment looks like. Uh
  1343. 1:01:19apply the RT algorithm. Uh that will
  1344. 1:01:21give you some collision free path from
  1345. 1:01:23the starting location which is marked
  1346. 1:01:26with a X uh to the end box. Like the
  1347. 1:01:29goal is just to land anywhere in that
  1348. 1:01:31final box. Um we're going to assume that
  1349. 1:01:35the drone can follow whatever path uh
  1350. 1:01:38the RT algorithm came up with. Uh so for
  1351. 1:01:40this lab, we're we're not going to think
  1352. 1:01:42about the dynamics. We're just going to
  1353. 1:01:43assume that the drone has a good enough
  1354. 1:01:45built-in controller uh to follow kind of
  1355. 1:01:48whatever trajectory that RT came up
  1356. 1:01:50with. Um, and yeah, I guess this is what
  1357. 1:01:53it should oops look like in practice.
  1358. 1:01:56All right, I guess you can imagine what
  1359. 1:01:57it looks like. Sorry. It takes off,
  1360. 1:02:00avoids the obstacles, gets to the the
  1361. 1:02:02landing zone. Uh, and because we're
  1362. 1:02:03using the RT algorithm, it's not going
  1363. 1:02:05to be optimal. So, there's a bunch of
  1364. 1:02:06kind of wacky stuff that it does in the
  1365. 1:02:08middle. Uh, we're not going to try to
  1366. 1:02:10optimize it. The goal is just to see it
  1367. 1:02:11in practice.
  1368. 1:02:12uh and and to just get some kind of
  1369. 1:02:14familiarity working with the the drone.
  1370. 1:02:16Um yeah, just kind of figuring out how
  1371. 1:02:19to connect to it, how to control it,
  1372. 1:02:21give it like way points, and just see
  1373. 1:02:22the RT algorithm work in practice. Okay.
  1374. 1:02:26Uh so I guess when you show up at one of
  1375. 1:02:28the the lab spaces, uh there's four
  1376. 1:02:30drones in in G 109 that are in the
  1377. 1:02:33space. Uh there's three drones in the
  1378. 1:02:35the C's robotics lab. Um so yeah, you
  1379. 1:02:38show up, you kind of pick up one of them
  1380. 1:02:39that's available. Uh we've kept a bunch
  1381. 1:02:42of spare parts uh so propellers uh extra
  1382. 1:02:45motors uh these prop guards like
  1383. 1:02:47propeller guards uh as well uh which are
  1384. 1:02:50new on on this brushless uh drone uh and
  1385. 1:02:53then measuring tape uh in each space for
  1386. 1:02:55creating this map of the environment uh
  1387. 1:02:57and then safety glasses uh as well. Um,
  1388. 1:03:01and yeah, I guess some kind of logistics
  1389. 1:03:03for for using the the different lab
  1390. 1:03:05spaces. Uh, because of the size of the
  1391. 1:03:08course, like it doesn't really make
  1392. 1:03:09sense to have a lab hour. Like we would
  1393. 1:03:11not all kind of 72 of us like fit uh at
  1394. 1:03:14at at any given time. So you can use the
  1395. 1:03:16the lab spacesh anytime you want. Uh so
  1396. 1:03:18weekdays, weekends,
  1397. 1:03:20um anyone who's completed the at least
  1398. 1:03:23the online uh safety training uh which
  1399. 1:03:26hopefully should be everyone at this
  1400. 1:03:28point uh can access the space. Uh
  1401. 1:03:30ideally you've completed the the
  1402. 1:03:31inperson version as well, but sometimes
  1403. 1:03:33there's just issues with scheduling. Uh
  1404. 1:03:35maybe quick show of hands if you've
  1405. 1:03:37completed both the online and the
  1406. 1:03:38inerson training. Okay, most of you.
  1407. 1:03:41Okay, actually not not as many as I
  1408. 1:03:42would have thought. Maybe show of hands
  1409. 1:03:43if you haven't complete have have
  1410. 1:03:45completed the online portion. Okay. All
  1411. 1:03:48right. I guess I I see some people who
  1412. 1:03:49haven't. So by tomorrow, please complete
  1413. 1:03:51the the online portion of the uh the EHS
  1414. 1:03:54training. Um yeah, that's required just
  1415. 1:03:57kind of for using any lab space
  1416. 1:03:59basically in the in the EU quad. Um so
  1417. 1:04:02occupancy kind of suggestions or or
  1418. 1:04:04guidelines. Um in the past like the very
  1419. 1:04:08first time uh that I taught this course,
  1420. 1:04:10this was back in 2019, uh we had a a
  1421. 1:04:13signup sheet. Uh so each team would sign
  1422. 1:04:16up uh before they they showed up. Uh we
  1423. 1:04:19gave up on it within like two weeks uh
  1424. 1:04:21because what would happen is people
  1425. 1:04:23would sign up like 5 minutes uh before
  1426. 1:04:25showing up to the space and it was
  1427. 1:04:27basically as good as not having a signup
  1428. 1:04:28sheet. Uh what we found to work well
  1429. 1:04:30kind of throughout the years is a much
  1430. 1:04:32more like organic uh way of organizing
  1431. 1:04:34yourself. Um so you you come to the
  1432. 1:04:36space, there's going to be some other
  1433. 1:04:37teams maybe that are in the space. Uh
  1434. 1:04:39just take turns uh like test something
  1435. 1:04:42out. uh most likely it's not going to
  1436. 1:04:44work well. Kind of go back out of the
  1437. 1:04:46the netted area, debug uh with your
  1438. 1:04:48teammates uh and then just take turns.
  1439. 1:04:50Yeah, that turns that turns out to work
  1440. 1:04:52much better than some kind of signup
  1441. 1:04:54sheet or something more organized.
  1442. 1:04:56People are busy at different times, so
  1443. 1:04:57it just kind of naturally works out. Um
  1444. 1:04:59there's going to be some times where
  1445. 1:05:00it's busy, but but kind of overall I
  1446. 1:05:02think it it's uh it's pretty good. Um we
  1447. 1:05:05also have a a thread uh that I created
  1448. 1:05:07this morning uh on at discussion. Uh if
  1449. 1:05:10there are issues with any particular
  1450. 1:05:12drone like the drones are going to be
  1451. 1:05:13numbered uh just post on the thread uh
  1452. 1:05:17and then use whatever kind of other
  1453. 1:05:19available uh drones there are in the
  1454. 1:05:20space. Uh that way you're not wasting
  1455. 1:05:22any time like we'll look at the thread.
  1456. 1:05:25Uh John Po who helps out with the the
  1457. 1:05:27course uh is going to try to fix the
  1458. 1:05:29drones. Uh we have a bunch of
  1459. 1:05:30replacement parts. Um, yeah. So, let
  1460. 1:05:33let's try to do this. Just kind of be
  1461. 1:05:35proactive. Like, if there is an issue,
  1462. 1:05:37uh, just post on that thread so we know
  1463. 1:05:38to fix it. Uh, the situation I want to
  1464. 1:05:41avoid is there's a bunch of broken
  1465. 1:05:43drones and then people kind of show up
  1466. 1:05:45to the lab and they're all broken and we
  1467. 1:05:46don't know that they're broken, so we
  1468. 1:05:47have no way to to fix it. Yeah.
  1469. 1:05:49Questions on any of these logistics?
  1470. 1:05:53Okay. Uh, yeah, last couple of things.
  1471. 1:05:57Uh, so safety is obviously super
  1472. 1:05:59important. Uh the drones are pretty
  1473. 1:06:02lightweight uh and the propellers are
  1474. 1:06:04are small and there are prop guards. Uh
  1475. 1:06:06so the chances of uh a kind of severe
  1476. 1:06:09injury are are low, but it's still
  1477. 1:06:10possible. I think the thing I worry
  1478. 1:06:12about the most is um like the propeller
  1479. 1:06:14kind of either like breaks off or
  1480. 1:06:16somehow you're like in the net uh netted
  1481. 1:06:19area and the the drone comes and hits
  1482. 1:06:20your eye. Like that's the main thing. Uh
  1483. 1:06:23it's not too u like the propellers are
  1484. 1:06:25like not strong enough that they're
  1485. 1:06:26going to physically injure you
  1486. 1:06:28otherwise. It's mostly the the eyes uh
  1487. 1:06:30that I'm concerned about. We'll have a
  1488. 1:06:31bunch of safety glasses uh in the the
  1489. 1:06:34space. Uh if you feel like you need more
  1490. 1:06:37uh just let me know. We'll we'll try to
  1491. 1:06:38get we'll try to have enough but but if
  1492. 1:06:40that's an issue, let me know. Uh and
  1493. 1:06:42then obviously stand outside the netted
  1494. 1:06:45area. Uh like that's why we have the the
  1495. 1:06:47nets. Uh when the drone is operating
  1496. 1:06:49like don't stand inside with the the
  1497. 1:06:51drone. just put the drone in uh run your
  1498. 1:06:54code, see it fly or crash uh and then
  1499. 1:06:57pick it up.
  1500. 1:06:59Uh and then also, yeah, I guess please
  1501. 1:07:00treat the the drones with uh with care.
  1502. 1:07:03So, we're using it as a shared resource.
  1503. 1:07:05Um so, all the teams will be using uh
  1504. 1:07:07the same seven or eight uh drones. Uh
  1505. 1:07:10there's a non-trivial operating cost uh
  1506. 1:07:12for the the course. uh these drones in
  1507. 1:07:14particular, the new ones with the
  1508. 1:07:16brushless motors. If you combine all the
  1509. 1:07:18parts uh like the uh the drone itself,
  1510. 1:07:21there's a optical flow camera, uh the
  1511. 1:07:23propellers, the motors, uh there's a
  1512. 1:07:25extra camera that we're going to add uh
  1513. 1:07:28towards the end of the course. Uh all of
  1514. 1:07:30it per drone is about like $600. Uh so
  1515. 1:07:33if they break, it's uh yeah, it just
  1516. 1:07:35takes some some cost uh to try to
  1517. 1:07:37replace these. Uh and we bought kind of
  1518. 1:07:40entirely new drones, like a whole new
  1519. 1:07:42fleet of drones. Uh this year, uh in the
  1520. 1:07:45past, we've had some teams kind of not
  1521. 1:07:47be super careful uh with the drone. So
  1522. 1:07:49last year, we had two different teams uh
  1523. 1:07:51who stepped on the drones [laughter] and
  1524. 1:07:53just kind of crush them. Uh please do
  1525. 1:07:56not step on the on the drones. Uh yeah,
  1526. 1:07:58just just treat them with care like as
  1527. 1:08:00if they're your own. uh it's going to
  1528. 1:08:02make things much uh much much smoother
  1529. 1:08:04in terms of just making sure that
  1530. 1:08:06they're reliable uh throughout the
  1531. 1:08:08semester and usable by everyone. Um
  1532. 1:08:11yeah, questions on the logistics.
  1533. 1:08:17All right. Yeah, it should be fun. So,
  1534. 1:08:19I'll I'll post an announcement tomorrow
  1535. 1:08:20and I'll see you next time. Thanks.

About this transcript

This page contains the full transcript of Princeton Intro to Robotics (Fall 2026) | Lecture 4: Quadrotor Dynamics by Introduction to Robotics @ Princeton, generated from the public captions YouTube serves with the video. The transcript has 10,656 words across 1,535 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.