SoftBank Robotics documentation What's new in NAOqi 2.8?

Semantic Engine - What Pepper knows

Prerequisite: Autonomous Life: ON - Basic Channel: ON

Pepper can learn!

Thanks to his Semantic Engine, Pepper is able to:

  • keep in mind some information,
  • acquire new information, and
  • use this knowledge in order to answer your questions and requests.

Note

For now, Pepper has a short-term memory, persistent from startup to shut-down. He will forget all his knowledge each time he reboots.

Test Pepper’s ability to learn

When chatting with Pepper, try to make some simple assertions, then question him.

Example:

Human: Paul likes to play video games.
Human: what does Paul like?
Robot: Paul likes to play video games.

Tips:

You can also use “I” and “you”.

Human: I like chocolate.
Human: what do I like?
Robot: You like chocolate.

You can change your mind!

Human: Paul likes to play video games
Human: what does Paul like?
Robot: Paul likes to play video games.
Human: Paul doesn't like to play video games
Human: what does Paul like?
Robot: Paul likes nothing particular.

Pepper is able to follow conditional assertions.

Syntax:

if/when/whenever <condition> , <affirmation>

Example:

Human: If Paul likes chocolate, Paul likes banana
Robot: OK, Paul likes the banana if he likes chocolate.
Human: Does Paul like banana
Robot: I don't know if Paul likes the banana.
Human: Paul likes chocolate
Human: Does Paul like banana
Robot: Yes, Paul likes the banana.

Question Pepper about his perceptions

You can question Pepper about his perceptions.

Example:

<the human doesn’t touch Pepper’s left hand>

Human: is your left hand touched?
Robot: No, my left hand is not touched.

<the human touches Pepper’s left hand>

Human: is your left hand touched?
Robot: Yes, you touch my left hand.

Train Pepper

On your request, Pepper is able to perform some basic actions.

Example:

Human: raise your left hand.

<Pepper raise his left hand>

For further details, see: Pepper’s moves.

You can also teach him new actions.

Syntax:

<infinitive command to define> means <set of infinitive(s) command(s) to do>

Example:

Human: to salute means to say hello
Robot: OK, to salute means to say hello.
Human: salute
Robot: Hello

Pepper is also able to learn how to react in some circumstances.

Syntax:

if/when <condition> , <command>

Example:

Human: if I am happy, raise your left hand
Robot: OK, I will raise my left hand if you are happy.
Human: I am happy
<robot raises his left hand>
Human: I am happy
<robot doesn't raise his left hand>