ER1 User Guide 3-3
If Conditions
If Conditions
One or more conditions can be specified in the If part of a behavior. The available
conditions are:
•Sight
• Sound
•Time
• Message receive
• Sequence
To select a condition and edit it for your needs, click on the checkbox to the left of it.
Until you click the checkbox, you will not be able to edit any of the options within the
condition. (Remember that regardless of how many conditions you specify, only one
condition must be met for the behavior to be triggered and the actions executed.)
Sight Condition
Using the Sight condition, you can program the robot to react to a certain color or object.
To select an object, select it in the pulldown menu.
To have the behavior trigger on a color:
1. Click on the color pulldown menu to select a color.
2. The color pulldown menu also has an dropper icon. Clicking on this icon lets you
select a color from the camera image.
Important Note: Either an object or a color can be selected as the sight condition, but not
both.
Sound Condition
Using the Sound condition, you can program the robot to react to an ambient volume level
or to use speech recognition to respond to a spoken word or phrase.
The six radio buttons correspond to six discrete volume levels. The volume levels increase
from left to right, but the actual sound level represented by each of the six depends on the
microphone volume settings on your robot’s laptop. You will need to experiment with
your laptop’s particular hardware settings to determine which level works best as your
behavior trigger.
To have the robot react to a spoken word or phrase, type it into the Listen For text box.
The ER1 RCC software uses Microsoft Speech SDK 5.1 to recognize the words typed into
this text box.
Microsoft’s speech recognition works better after it has been trained on the user’s voice.
To train the speech recognition software, open the Microsoft Speech Applet in the
Control Panel and click on the Train button in the Speech Recognition tab. The speech
software will prompt you from there.