ER1 User Guide
Move Drive Toward Color ............................................................................ 10-8
Objects Command................................................................................................. 10-8
Objects ........................................................................................................... 10-8
Play Command...................................................................................................... 10-9
Play File ......................................................................................................... 10-9
Play Phrase..................................................................................................... 10-9
Position Command................................................................................................ 10-9
Position .......................................................................................................... 10-9
Stop Command...................................................................................................... 10-10
Sense Command.................................................................................................... 10-10
Clear Command .................................................................................................... 10-10
Events Command .................................................................................................. 10-11
Set Command........................................................................................................ 10-12
Set Voice........................................................................................................ 10-12
Set Linear Velocity ........................................................................................ 10-12
Set Angular Velocity ..................................................................................... 10-12
Set Power Stopped ......................................................................................... 10-13
Set Power Moving ......................................................................................... 10-13
Set Collision Detection .................................................................................. 10-13
Set Obstacle Avoidance ................................................................................. 10-13
Set Confidence Threshold.............................................................................. 10-14
Set Color Tolerance ....................................................................................... 10-14
Set Color Percentage...................................................................................... 10-14
Digital Input/Output Commands........................................................................... 10-15
Electrical Characteristics ............................................................................... 10-15
Input Digital................................................................................................... 10-16
Output Digital ................................................................................................ 10-16
Input Analog .................................................................................................. 10-18
Building ER1 Scripts ............................................................................................ 10-19
Download Java SDK...................................................................................... 10-20
Compiling ...................................................................................................... 10-20
Running the Script ......................................................................................... 10-20
TestClient.java ...................................................................................................... 10-21
Java API Example Programs................................................................................. 10-22