WEBVTT

00:00.440 --> 00:01.640
Robotic enthusiast.

00:01.880 --> 00:07.490
So far we have developed all the robot's functionalities locally within our PC.

00:08.000 --> 00:11.840
Now it's time to connect the robot to the Internet.

00:12.580 --> 00:18.520
This is a crucial step as it opens up potentially infinite number of applications.

00:18.520 --> 00:23.740
And these are the real innovation, the true revolution in the field of robotics.

00:24.340 --> 00:31.210
A robot connected to the Internet is no longer limited by the computational power and resources it has

00:31.210 --> 00:32.620
on its own computer.

00:32.620 --> 00:39.760
Instead, it potentially gains access to a cloud and a range of constantly evolving and expanding resources

00:39.760 --> 00:41.020
and applications.

00:41.860 --> 00:43.240
Among these applications.

00:43.240 --> 00:47.830
One of the most interesting for robotics is the one of the voice assistants.

00:48.630 --> 00:55.220
If we think about it, in the industries and factories where we are more used to encounter robots,

00:55.230 --> 01:01.890
they are often controlled with larger and cumbersome joysticks, especially during the learning phase,

01:01.890 --> 01:04.140
or to initiate a specific movement.

01:04.500 --> 01:12.030
This type of controller is well suited for an industrial environment where dust, water and restrictive

01:12.030 --> 01:17.340
safety measures require robots to be operated using these complex systems.

01:18.540 --> 01:26.520
However, there is an increasing transition from industrial robotics to domestic robotics in this scenario.

01:26.550 --> 01:34.140
Robots move from having a safe and reserved space uniquely for their movements to having to share their

01:34.140 --> 01:41.370
space with living beings, requiring us to consider other aspects of robotics that have not been taken

01:41.370 --> 01:46.320
into account so far, such as human robot interaction or Hri.

01:47.070 --> 01:53.310
In this new scenario of interaction between humans and robots, what a better way to communicate than

01:53.310 --> 01:54.570
using our voice.

01:54.600 --> 02:00.750
The tool that has allowed us to communicate with other human beings since our appearance on Earth to

02:00.750 --> 02:02.460
also communicate with robots.

02:03.100 --> 02:03.940
True voice.

02:03.940 --> 02:10.530
We can convey our intentions, request tasks to be executed, and also receive feedback from the robot,

02:10.540 --> 02:15.940
enhancing our awareness of the actions and movements that the robot is going to do.

02:16.980 --> 02:19.140
Among the available voice assistants.

02:19.290 --> 02:24.900
I have used it to choose the Amazon ones for this course because it offers the possibility to add new

02:24.900 --> 02:29.490
features to the voice assistant and define new behavior or skills.

02:29.730 --> 02:36.750
This is made possible thanks to the convenient interface and the API that Amazon Alexa provides to the

02:36.750 --> 02:43.350
developers of application that use different Alexa skill and its language interpretation software.

02:44.230 --> 02:51.820
These API are known as Ask SDK and are offered in combination with a user friendly graphical interface

02:51.820 --> 02:57.400
that allows us to test these features even without using the physical device.

02:57.520 --> 03:03.790
Therefore, you can comfortably follow this section of the course without having the Alexa voice assistant

03:03.790 --> 03:04.930
at your disposal.

03:05.050 --> 03:10.180
To complete this section, in fact, you won't need to purchase the Alexa Voice assistant.

03:10.210 --> 03:17.170
Instead, you can access the Alexa Developer web page and interact with the assistant through the voice

03:17.170 --> 03:18.460
to control the robot.

03:18.940 --> 03:25.450
However, before we can send voice commands to the robot, we need to establish a connection between

03:25.450 --> 03:31.180
our robot or the simulated one that is running on our PC and the Alexa voice assistant.

03:32.370 --> 03:37.950
Fortunately, the communication between these two modules is straightforward and you might already be

03:37.950 --> 03:39.040
familiar with it.

03:39.060 --> 03:44.250
It's called the Internet, with the help of a software called Ngrok.

03:44.340 --> 03:51.180
We will create a web server on our PC or robot and we will provide the web address to this server to

03:51.180 --> 03:51.570
Amazon.

03:51.570 --> 03:55.050
Alexa allowing it to communicate with our robot.

03:55.840 --> 03:56.710
Internally.

03:56.710 --> 04:03.010
We will then connect this web server to Ros two so that it can send comments to the action server we

04:03.040 --> 04:08.920
named Task Server in order to move the robot as requested by the voice assistant.
