Hello human! ¶
In this tutorial, we will create a minimal application, making Pepper say “Hello human!”.
Make sure you have installed Android Studio, the Pepper SDK plugin, the Robot SDK and the related tools.
For further details, see: Installing the Pepper SDK plug-in.
Let’s start a new project
- Start a new project, let’s call it HelloPepper.
- Robotify it and make sure it implements the QiSDK & the Robot Life Cycle.
For further details, see: Creating a robot application.
Building and running a Say¶
To make Pepper talk, we will use the Say interface. This class represents one of the several actions Pepper can perform.
To use the Say interface:
Build the Say.
Create a new instance of Say with a
Run the Say.
The complete code should look like this:
That’s all you need to make Pepper talk!