Tutorial Guide

46
Lesson 5 Intermediate Course
6 In the Check_Sensor window, select Edit-Paste.
The selected boxes and lines move to the Check_Sensor group.
Editing a branch box and an action box
Let’s edit the branch box and action box that you moved as indicated
below.
1 Change the command of the TOUCH_HEAD branch box
2 Add a command for initializing the voice recognition parameter
3 Make a branch box that branches to two boxes by voice recognition
1 Change the command in the TOUCH_HEAD branch box.
Let’s change the command in the TOUCH_HEAD branch box to one
that causes control to exit from the loop when voice input is
recognized.
1 Open the TOUCH_HEAD branch box.
2 Change the name of the box and command in
the Properties box.
1 Change the name to “VOICE_ID?”
2 Select and change the command by clicking the displayed
“IF Head_ON = 1.”
Variable Op Var/Value JumpTo
AU_Voice* = 1 null
3 Click Modify
The command, “IF Head_ON = 1 WALK_BOW” is changed to
“IF AU_Voice = 1”.
You cannot move the selected
boxes or lines by dragging them to
other windows.
Using the English system,
AIBO recognizes 53 English
words. You can make programs
that use the voice recognition
function by creating actions that
react to these words. For a list of
the words, see page 59 of the
User’s Guide.
* ”AU_Voice” is a voice
recognition parameter that
indicates a word was recognized.
The command changes to “if AIBO
recognizes any of the 53 words,
jump to an undefined box.” (For
details on nulls, see page 36.)
If “auto modify” is checked, skip
step 3.