IntroducTIOn

In tutorial #4, we saw a first example of tactile interaction with Robobo, that is, how the robot can react if we touch its face.

In this tutorial we will continue working on this aspect with Robobo, and you will now learn how to provoke a predefined response when we touch the face in a certain way.

The challenge is to create a Spinning Robobo!

pre-requisitEs

Before starting this challenge, we recommend you to do the Tutorial #1, Tutorial #2, Tutorial #3 and Tutorial #4, and to have the ScratchX programming manual at hand:

CHALLENGE: SPINNING ROBOBO

Creating a program that makes Robobo react to touches and gestures on its face (Smartphone screen). If you move your finger on the screen (fling) to the right or left, Robobo must turn its head to the right or left respectively and turn on the LEDs (one color to the right and a different color to the left).

If you don’t know how to get started, here’s a little help, cheer up!

SOLUTION

A possible solution to this challenge is the following, although there are many others. Which one is yours?

SUPPLEMENTARY CHALLENGE

When you have completed the “Spinning Robobo” challenge we propose you a new one where we complicate a little the reaction of Robobo, are you prepared? The goal is to create a program in which Robobo moves its head forward/backward (TILT) or turns its body (moves the wheels) right/left (PAN) depending on the angle of the fling gesture you make on the screen of the Smartphone.