Exercise: Running a Behavior
If you haven't already started Tekkotsu, start it now. If you're
using an AIBO, read the section below on "Talking to the AIBO" before
Start the ControllerGUI by typing "ControllerGUI hostname". If you're
running Tekkotsu on your PC, you can use "localhost" as the hostname.
(Note: if your search path is not set up to find ControllerGUI, you
may have to type something like
Once the ControllerGUI window comes up, click on the "Raw Cam" button
to call up a viewer for the robot's camera image.
Double click on "Background Behaviors" and then "StareAtBallBehavior",
and activate it by double clicking. The name will change to #StareAtBallBehavior and its color will change to
red, indicating that the behavior is active. Un-pause the robot by
clicking on the Stop/Go icon. Now, move the pink ball back and forth
in front of the robot and it should move its camera to keep the ball
centered in the image.
Talking to the AIBO
Boot the AIBO using the standard Tekkotsu memory stick and then open a
telnet connection to it on port 59000 to monitor the Aperios console
output. For example, if your AIBO is named fido, you would type
"telnet fido 59000". When the connection is made you will see some
startup messages that were generated by Aperios and then later some