Behavior

What is a Behavior

A behavior contains all the commands to send to NAO to make him talk, walk, dance, play a sound, etc.

Those commands are represented by boxes which are sequentially or simultaneously executed.

Somehow a behavior can even be considered as a box which:

  • is named root.
  • is a flow diagram box, so is basically built-up with boxes linked to each other.
  • is launchable since it has an onStart input (at the top left of the flow diagram) which is called when you play the behavior.
  • is stoppable.
  • has an onStopped output by default (at the top right of the flow diagram) which unloads the behavior when it is called.
  • has no parameter.

The main difference rests with the fact that most editable elements of a box are not editable for a behavior. You can only modify: