1
00:00:00,150 --> 00:00:04,860
Previously, we saw how new ideas can represent a complete robot.

2
00:00:04,890 --> 00:00:06,600
Now it's time to make some changes.

3
00:00:06,600 --> 00:00:14,120
And to that and understand the concept of launch while shifting towards our next price controls should

4
00:00:14,160 --> 00:00:15,930
fee to view the reward.

5
00:00:15,930 --> 00:00:23,850
I have made a lot of changes in this reward and brought everything of this robot vs cost piece to the

6
00:00:23,850 --> 00:00:24,630
origin point.

7
00:00:24,630 --> 00:00:27,930
You can see everything is overlapping at the origin.

8
00:00:28,320 --> 00:00:35,130
Why I have done this because I have to present you a basic concept about machines and we are dealing

9
00:00:35,130 --> 00:00:37,190
with our vision of the machine.

10
00:00:38,070 --> 00:00:44,530
So first we need to tell this package where you are.

11
00:00:44,600 --> 00:00:49,440
You are going to be the meshes like the python files.

12
00:00:49,440 --> 00:00:53,100
We told them this is the name of the executable in the setup.

13
00:00:54,660 --> 00:01:02,190
We showed them how you can find the executable file and what functions do you execute.

14
00:01:02,190 --> 00:01:04,470
Okay, but before that it was not working.

15
00:01:04,920 --> 00:01:07,740
So similarly, we have to build a system.

16
00:01:08,160 --> 00:01:11,070
Where are the measures and the you are different.

17
00:01:11,070 --> 00:01:15,210
All extra things that we add in a package, there are those.

18
00:01:15,990 --> 00:01:20,250
So for that we are going to give them the parts to those things.

19
00:01:20,520 --> 00:01:22,620
Everything we put on call can make.

20
00:01:22,830 --> 00:01:28,620
Every time you perform, all of the package files are going to be copied into the shared folder with

21
00:01:28,620 --> 00:01:29,330
all cross.

22
00:01:30,290 --> 00:01:34,280
Framework related, things are going to access them in the share fold.

23
00:01:34,580 --> 00:01:39,830
So everything should be placed in the shared folder and I'm going to import some libraries.

24
00:01:42,370 --> 00:01:47,080
Globe and West, which are very important when working with pots.

25
00:01:47,680 --> 00:01:53,140
I have added this light which is going to get all of the things you are.

26
00:01:53,140 --> 00:01:54,970
Do you fold it in Nigeria?

27
00:01:54,970 --> 00:01:55,330
Fold.

28
00:01:55,330 --> 00:02:00,640
It means dirt, water and everything inside of it, and copy it into the share folder of this package

29
00:02:00,640 --> 00:02:03,550
name into a folder.

30
00:02:04,180 --> 00:02:06,550
So if I open my home folder.

31
00:02:07,560 --> 00:02:15,750
And in this home folder in the workspace I open install folder Nisbet and this share folder.

32
00:02:16,050 --> 00:02:25,980
We're all of my things atleast related to me as currently you can see there is no UI package and meshes

33
00:02:25,980 --> 00:02:31,710
folder that I have brought in here which contains all of the measures of my MES board, but they are

34
00:02:31,710 --> 00:02:35,280
not available here although they are represented in the package.

35
00:02:35,670 --> 00:02:38,280
And let me show you another thing, which is that.

36
00:02:41,130 --> 00:02:42,420
Where are the.

37
00:02:44,560 --> 00:02:44,950
Okay.

38
00:02:45,370 --> 00:02:51,070
So in maze bought folder off installed you can find my publisher and subscribe.

39
00:02:51,160 --> 00:02:58,300
So you see all of the files that are available in the -- folder in V, but we are interested in representing

40
00:02:58,300 --> 00:03:00,160
this idea of animations and all.

41
00:03:00,220 --> 00:03:02,890
You think that we will be created in the shade folder.

42
00:03:03,460 --> 00:03:10,480
So now I have given the parts to my idea and I am going to again give support for another folder that

43
00:03:10,480 --> 00:03:11,920
is meshes for that.

44
00:03:13,730 --> 00:03:19,040
We're just going to bring this meshes and all files entered into a folder named as meshes.

45
00:03:19,640 --> 00:03:23,720
So everything is going to be placed inside gopher cheer folder.

46
00:03:23,990 --> 00:03:31,070
Let's open up a terminal and I'm going to go inside of workspace that is part planning workspace and

47
00:03:31,070 --> 00:03:34,280
perform polygon build before pressing.

48
00:03:34,280 --> 00:03:38,660
And it I want to show you the changes that are going to be made in this folder.

49
00:03:39,230 --> 00:03:39,830
Bring it up.

50
00:03:40,070 --> 00:03:40,480
Very.

51
00:03:42,170 --> 00:03:50,210
So it is it has completed the building process and the watch that I provided for the undefined missions

52
00:03:50,210 --> 00:03:50,570
folder.

53
00:03:50,570 --> 00:03:55,570
It has brought it in the shared folder of all of our OSS packages.

54
00:03:55,580 --> 00:03:58,640
Indexes them with the name of the package.

55
00:03:59,760 --> 00:04:05,100
This might not be a good thing for you, but it is very important and very useful.

56
00:04:05,310 --> 00:04:06,330
You will find it.

57
00:04:07,050 --> 00:04:09,060
Now things have work for us.

58
00:04:09,180 --> 00:04:12,870
We need to create a launch site to launch multiple nodes.

59
00:04:13,170 --> 00:04:21,690
The concept of launch file that I assume that you might know by your own self is very interesting.

60
00:04:21,810 --> 00:04:23,940
You can run multiple nodes with it.

61
00:04:24,390 --> 00:04:30,210
I'm going to create a new folder named as nodes, obviously, that I'm going to create.

62
00:04:30,810 --> 00:04:31,560
I was.

63
00:04:33,060 --> 00:04:41,790
Dot launch dot by the Dodge Dart by is this an extension of the launch file for our base across to base

64
00:04:42,120 --> 00:04:50,070
files and previously was just launch the process of creating this launch file is very different from

65
00:04:50,130 --> 00:04:51,390
ROS one launch files.

66
00:04:51,990 --> 00:04:56,700
So this you can see is the basic syntax of launch file.

67
00:04:56,850 --> 00:05:00,960
There are certain things that might not be needed, but I'm going to utilize them.

68
00:05:01,470 --> 00:05:09,630
The libraries and talking about we are going to include nodes inside of it to give you a better understanding.

69
00:05:09,630 --> 00:05:17,040
And then example, I'm going to run multiple nodes inside of it so you can understand our package name

70
00:05:17,040 --> 00:05:17,940
was MES, but.

71
00:05:19,530 --> 00:05:21,540
And the executable name was.

72
00:05:22,660 --> 00:05:23,330
Dr..

73
00:05:23,350 --> 00:05:23,840
No.

74
00:05:23,860 --> 00:05:26,680
Let's bring them side by side so we can understand.

75
00:05:28,740 --> 00:05:30,000
Let's bring it here.

76
00:05:30,030 --> 00:05:31,350
This one and this one here.

77
00:05:32,850 --> 00:05:34,110
Oh no, it was fine.

78
00:05:35,190 --> 00:05:36,030
Executable.

79
00:05:38,080 --> 00:05:39,600
Docker node.

80
00:05:40,910 --> 00:05:44,560
And the name is going to be a publisher.

81
00:05:44,570 --> 00:05:48,260
This name is what we want to give it, and that's fine.

82
00:05:48,800 --> 00:05:52,190
Let's create a copy of it and produce another one.

83
00:05:53,810 --> 00:05:59,650
But this is going to be a subscriber load and it is going to be a listener.

84
00:06:00,420 --> 00:06:04,620
So we have created a large file in which we have two nodes of our package.

85
00:06:05,100 --> 00:06:09,240
What we are testing here is what is the purpose of launch by launch?

86
00:06:09,250 --> 00:06:19,800
So I can run multiple nodes with this execution now rose to launch name of the package pressing David

87
00:06:19,800 --> 00:06:25,440
automatically completes because we have not sourced our package.

88
00:06:25,770 --> 00:06:30,570
So source let's bring it from the home for that.

89
00:06:31,110 --> 00:06:38,670
But planning workspace I'm pressing David automatically compute then install and setup bash.

90
00:06:39,300 --> 00:06:44,100
This line of code needs to be executed every time we open up.

91
00:06:45,600 --> 00:06:48,090
I've come terminal to access this package.

92
00:06:48,090 --> 00:06:48,350
Right.

93
00:06:48,570 --> 00:06:52,680
Let me solve this issue by automatically sourcing it.

94
00:06:52,890 --> 00:06:54,390
I'm going to press control.

95
00:06:54,390 --> 00:06:55,730
It's in my home folder.

96
00:06:55,740 --> 00:06:57,710
It is going to bring a lot of hidden funds.

97
00:06:57,720 --> 00:07:00,720
I am going to go inside of my.

98
00:07:02,000 --> 00:07:06,280
Vash RC file and please this source combine a.

99
00:07:07,650 --> 00:07:14,700
After the sourcing of ROS to installation, so it automatically performs everything like it again did.

100
00:07:14,700 --> 00:07:15,030
Is it?

101
00:07:16,410 --> 00:07:21,570
Now, we would not be required to source again and again for our package.

102
00:07:21,870 --> 00:07:24,040
Let's source it here.

103
00:07:24,160 --> 00:07:26,280
Things up for us to launch.

104
00:07:26,820 --> 00:07:30,020
And what is the name of the package raise?

105
00:07:30,120 --> 00:07:35,100
I know it automatically completes our base by pressing dab and why?

106
00:07:35,130 --> 00:07:37,020
It is largely because.

107
00:07:38,070 --> 00:07:47,010
Our system do not contains the newly edited find we have to perform call convey to make this work.

108
00:07:47,430 --> 00:07:56,830
For example, if we go inside of our parts planning install baseboard shared folder this board and where

109
00:07:56,850 --> 00:07:57,180
is it?

110
00:07:57,510 --> 00:08:05,940
There is no large file because we have not given the part of our launch folder inside of our set up

111
00:08:06,180 --> 00:08:06,930
by config.

112
00:08:06,930 --> 00:08:14,460
So I'm going to create it and write, not bring the launch folder as well into your order so we can

113
00:08:14,730 --> 00:08:16,260
run it through.

114
00:08:17,470 --> 00:08:24,940
The dominant next perform call control and see now we have the launch file and the our restored launch

115
00:08:24,940 --> 00:08:26,040
file inside.

116
00:08:27,070 --> 00:08:35,650
Now we can launch it to launch vs DAP automatically complete double tap to show all possible options.

117
00:08:35,890 --> 00:08:37,360
And here we have it.

118
00:08:37,900 --> 00:08:39,210
Pressing orange tab.

119
00:08:39,220 --> 00:08:40,540
So dramatically complete.

120
00:08:40,540 --> 00:08:41,170
Let's run it.

121
00:08:43,760 --> 00:08:45,590
It is posting a lot of things.

122
00:08:46,490 --> 00:08:50,930
Basically it is running the subscriber node and the publisher.

123
00:08:51,260 --> 00:08:52,670
If you want to confirm it.

124
00:08:53,030 --> 00:08:57,110
Ros, you or I could drop.

125
00:08:59,430 --> 00:09:01,830
And it only represents the listener, by the way.

126
00:09:03,480 --> 00:09:06,720
It is working on both of these nodes.

127
00:09:07,020 --> 00:09:13,530
So the power of large file was to run multiple nodes by just running a single file.

128
00:09:13,560 --> 00:09:17,280
We can have 100 nodes and we can execute them with the launch.

129
00:09:18,900 --> 00:09:25,450
In this in this video, we just covered the launch files and the next video will launch at RS.

130
00:09:25,860 --> 00:09:29,660
And take a look how our robot is going to be looking at it.
