Pepper Tutorial <5>: Tablet

In this tutorial, we will explain how to control the tablet through the manipulation of boxes.

Note that the tablet behaviour cannot be simulated on the virtual robot, but we will explain how to check what is written inside the box with Python programming code to explain what the box is actually doing.

Project files pane

To display intended contents on the tablet, they must be imported into the project in advance. This is done on the “Project files” pane.

1. Project files: list of files that are included in the project. Files can be sorted into a hierarchical structure by creating directories, and can be moved around with drag and drop.

2. Add file/directory button: add elements to the project file. A dropdown menu appears when clicked.

  • Create directory…

  • Create behavior…

  • Create dialog topic…

  • Create planar move…

  • Import behavior…

  • Import files…

  • Import folder…

3. Remove selection button: remove the selected file/directory from the project.

To output contents on the tablet, html directory must be created which holds all the files to be displayed. Once the directory is created, files can be referenced by boxes through the html directory path.

Displaying contents

Output pictures:

Let’s start with displaying an image on Pepper’s tablet. Please prepare an appropriate picture in either .PNG, .JPEG, or .GIF file format to be used.

1. Prepare boxes. Drag & drop following box from the Box libraries onto the flow diagram.

Multimedia > Tablet > Show Image

2. Connect the box

3. Create html directory