﻿1
00:00:00,660 --> 00:00:01,830
‫Welcome back.

2
00:00:01,980 --> 00:00:06,960
‫Let's now install QB solvers for your MAC OS machine.

3
00:00:07,230 --> 00:00:13,620
‫If you Google QB solvers, then you can find it in GitHub in this first result.

4
00:00:13,770 --> 00:00:16,710
‫This GitHub is managed by Stephanie Curran.

5
00:00:17,010 --> 00:00:20,790
‫And if you go there, then here you can see the files.

6
00:00:21,030 --> 00:00:23,370
‫Here you can see installation.

7
00:00:23,520 --> 00:00:25,650
‫Here you can see usage.

8
00:00:25,680 --> 00:00:30,360
‫You see, this is our cost function here, and these are our constraints.

9
00:00:30,720 --> 00:00:33,060
‫You also have an example here.

10
00:00:33,300 --> 00:00:39,360
‫If you put it into your python code, then this example will give you this kind of solution.

11
00:00:39,690 --> 00:00:43,110
‫You see, it's a row vector, your delta global.

12
00:00:43,470 --> 00:00:49,980
‫Remember that in cup solvers your solution was given to you as a row vector.

13
00:00:50,310 --> 00:00:56,460
‫While in matlab it would give you the solution as a common vector.

14
00:00:56,730 --> 00:01:00,000
‫And then here you have frequently asked questions.

15
00:01:00,120 --> 00:01:01,800
‫So this is the terminal.

16
00:01:02,100 --> 00:01:09,060
‫Inside your terminal you will simply write pip install cube solvers is going to start installing it

17
00:01:09,390 --> 00:01:10,140
‫at the beginning.

18
00:01:10,140 --> 00:01:13,950
‫Everything goes well, but then you will get an error.

19
00:01:14,190 --> 00:01:23,940
‫As you can see, it writes The GCC command requires the command line developer tools.

20
00:01:24,240 --> 00:01:26,730
‫Would you like to install the tools now?

21
00:01:26,940 --> 00:01:34,230
‫So this pop up in macOS will come up automatically, and so you will click install.

22
00:01:34,530 --> 00:01:39,900
‫And so here you will need to read everything and then click Agree.

23
00:01:40,170 --> 00:01:45,540
‫And then it will look for some software, it will download some software.

24
00:01:45,870 --> 00:01:48,160
‫It's not going to take 9 hours.

25
00:01:48,180 --> 00:01:49,200
‫No worries.

26
00:01:49,410 --> 00:01:52,800
‫You see, now it's 8 minutes, 3 minutes.

27
00:01:53,100 --> 00:02:00,240
‫And so once it's done with the installation, it will say the software is installed, done, and then

28
00:02:00,240 --> 00:02:05,940
‫you will right here pip install episodes again, you will click enter.

29
00:02:06,180 --> 00:02:12,300
‫And so this time everything seems to go well, successfully installed cube solvers.

30
00:02:12,480 --> 00:02:14,010
‫You can see it here.

31
00:02:14,310 --> 00:02:15,840
‫Then you right here.

32
00:02:16,020 --> 00:02:17,220
‫Clear.

33
00:02:44,430 --> 00:02:53,370
‫And then you go into your folder where you have your file and then you write Python three, then you

34
00:02:53,370 --> 00:02:54,660
‫run your file.

35
00:02:54,990 --> 00:03:00,600
‫In this case, it's going to be a drone file, though, but it doesn't matter because that one also

36
00:03:00,600 --> 00:03:02,460
‫has copy servers inside.

37
00:03:02,820 --> 00:03:06,000
‫So the point is that your kewpie servers is working.

38
00:03:06,360 --> 00:03:12,210
‫Of course, your animation is a bit slow here, but that's because I'm running the animation and recording

39
00:03:12,210 --> 00:03:13,860
‫the screen at the same time.

40
00:03:14,100 --> 00:03:15,600
‫And this is your plot.

41
00:03:15,750 --> 00:03:16,950
‫And there you go.

42
00:03:16,980 --> 00:03:21,360
‫Now you have copy servers for your macOS Big Sur.

43
00:03:21,690 --> 00:03:22,830
‫Thank you very much.

