in order to make the turtle robot the first step is to install the ROS robot operating 2
system into your ubuntu machine so if you have ubuntu 20.04 then you will need to install 3
ROS 2 foxy but if you have 22.04 ubuntu version Then you will have to install ROS 2 humble 4
Hawksbill the installation method is not different at all there is a minute 5
selection of the version in the installation so open up your browser and install ROS2 6
so here we have we have ubuntu machine choose option ubuntu debian 7
we will not have to bother too much into these steps just copy 8
the commands and install into your PC so if you have ubuntu 9
22.04 just click here and select humble but if you have you to 20.04 then you 10
will need not to change anything so first we will open up our 11
terminal I will copy and paste into the 12
terminal these are a bunch of parameters that the PC need to know 13
just copy the command from by one and paste into your terminal okay 14
so we are going to the next step set up sources just copy from here and paste 15
copy from here and 16
paste and now I will just copy here and sudo apt update it will install all the 17
ros2 packages the previously we added some keys of ROS2 and now it is going to install 18
do not waste too much energy in understanding these installation 19
steps the upgrade has been done we will install 20
now Soo apt to install foxy desktop we 21
are going to install the desktop verion it has several extra 22
tools yes there was also an option to install the uh ROS2 base version but it does not 23
have all the tools that we need to have uh as we are installing in our personal computer 24
so uh we will install the full version this is going to take a while so have some cup of tea and 25
enjoy so the ROS2 is installed let's install a bunch of few different tools copy here 26
paste 27
so now you have installed ROS 2 in your PC you're going to 28
be a ROS developer now the first step is done [Applause] 29
you will have to source to let system know the ROS2 is installed we have sourced our 30
setup now we are going to run some demo node and you can see it is publishing hello word and then an 31
integer which is continuously being uh increased we will have to see that if it is really publish 32
we will open up the next terminal and we will also subscribe it as we have a publisher that 33
is publishing some data on talker node yeah it is also hearing it here you can see I 34
heard then the word and then the number these number are absolutely same congratulations you 35
have successfully installed ROS2 in your PC and you also uh run a publisher and a 36
subscriber