﻿1
00:00:00,630 --> 00:00:01,800
‫Welcome back.

2
00:00:01,950 --> 00:00:04,900
‫So let's now install QB solvers.

3
00:00:04,920 --> 00:00:13,560
‫If you use Linux Ubuntu, if you Google QB solvers, then this first result here, it shows you the

4
00:00:13,560 --> 00:00:16,140
‫instructions for the solver.

5
00:00:16,380 --> 00:00:22,560
‫So if you click on it, then you can see that this GitHub is managed by Stephanie Curran.

6
00:00:22,830 --> 00:00:29,730
‫Here you can see installation and here you can see the structure of the QB solvers.

7
00:00:30,000 --> 00:00:32,520
‫You've seen that in the previous section as well.

8
00:00:32,700 --> 00:00:36,120
‫And then here you also have an example.

9
00:00:36,420 --> 00:00:39,990
‫You can later put it in Python and then see how it works.

10
00:00:40,290 --> 00:00:45,480
‫And so in order to install it for Linux Ubuntu, that's actually very easy.

11
00:00:45,870 --> 00:00:49,380
‫In terminal, you have to run these two commands.

12
00:00:49,710 --> 00:00:52,290
‫And so I open my terminal.

13
00:00:52,620 --> 00:00:54,570
‫I copy the first line here.

14
00:00:54,870 --> 00:00:56,190
‫I press enter.

15
00:00:56,490 --> 00:01:04,440
‫Then you have to put your password here, the one that you use in order to log in to your Linux Ubuntu

16
00:01:04,470 --> 00:01:05,880
‫operating system.

17
00:01:06,180 --> 00:01:13,410
‫And once it is done, you write pip three, install cube solvers and there you go.

18
00:01:13,620 --> 00:01:16,260
‫Succesfully installed cube solvers.

19
00:01:42,600 --> 00:01:47,220
‫I will then go into the folder where I have my python simulation.

20
00:01:47,580 --> 00:01:54,870
‫Now I'm inside that folder and then I write Python three and then the main file.

21
00:01:55,170 --> 00:02:02,040
‫But remember inside this folder, you also need to have your support file.

22
00:02:02,190 --> 00:02:04,990
‫So before I run it, I'll just write here.

23
00:02:05,010 --> 00:02:09,360
‫LS And so you can see that this is my main file here.

24
00:02:09,690 --> 00:02:11,670
‫And this is my support file.

25
00:02:11,910 --> 00:02:14,580
‫And so I'm going to run my file.

26
00:02:14,940 --> 00:02:18,090
‫My main file is going to take some time.

27
00:02:18,360 --> 00:02:19,410
‫And there you go.

28
00:02:19,410 --> 00:02:20,340
‫It works.

29
00:02:20,790 --> 00:02:28,290
‫Of course, it's a little bit slow now, but that's because I'm running the animation and recording

30
00:02:28,290 --> 00:02:30,150
‫the screen at the same time.

31
00:02:30,390 --> 00:02:34,230
‫And here you have the plot of the trajectory, and that's it.

32
00:02:34,470 --> 00:02:37,890
‫You have copy solvers for Linux Ubuntu.

33
00:02:38,250 --> 00:02:39,420
‫Thank you very much.

