LogTestMachine Execution Trace
- Boot your AIBO and open a telnet connection to port 59000. Or
start the AIBO simulator.
- Start the ControllerGUI. Un-stop the AIBO.
- Go to Root Control > Status Reports > Event Logger, and turn
on logging for buttonEGID.
- Start up a fresh Storyboard tool, and load the layout
Tekkotsu/tools/storyboard/samples/LogTestMachine/LogTest-layout.tsl.
If the model doesn't load automatically, then load LogTest-model.tsm
as well.
- In the "Host" dialog box at the right side of the Monitor pane,
type the hostname or IP address for the AIBO, or for your own computer
if you're running the simulator.
- In the "Name" dialog box, type "Logging Test".
Note: the name you type in the dialog box must exactly match the name
in the ControllerGUI menu item that you use to start the behavior. If
it doesn't match, the execution trace will still show event icons but
there will be no state activations/deactivations.
- Click on the "New Trace" button. You will notice the time index
in the Storyboard pane begin to advance.
- In the Controller GUI, un-stop the AIBO. Then go to Root Control
> Mode Switch, then double click on "Logging Test" to start the
behavior. You should see the state machine parent node "Logging Test"
appear in orange in the storyboard. Note: if you activate the Logging
Test behavior before beginning the new trace, the state
activation event will not be sent to the Storyboard tool, so the node
will never appear on the trace.
- Depress and hold one of the AIBO's buttons. You'll notice an event
icon appear at the top of the storyboard, just below the timeline.
Then release the button and you'll notice a different event icon appear. Place
the mouse over the icon and a tooltip will pop up to describe the event.
- Type "!msg message" in the Controller GUI's Send Input window,
and hit return. Notice the state transition that takes place in the
storyboard. (You may have to scroll the storyboard to the right if
the time index has advanced off-screen.)
- Type !msg image" and hit return, and the AIBO will take a picture
with its camera, which then appears as a thumbnail on the
timeline.
- The command "!msg webcam" is supposed to cause the Storyboard
Tool to take a snapshot from an attached webcam and add it as a
thumbnail on the timeline. This feature is not working yet, but you
can still give the command and see the state transitions occur.
- In the ControllerGUI, click on "Logging Test" to stop the
Behavior. Notice that the storyboard timeline continues to advance.
Click on the Pause button in the Monitor pane to pause the storyboard
logging.
- Click on the Save Execution Trace icon in the storyboard pane,
(Note: this is not the same as the "Save" or "Save As" options in the
File menu, which are for saving layouts. This save button appears on
the storyboard pane itself, not the layout pane or pulldown menu.)
Save your trace to the hard drive. Make sure the file has .tse as the
extension.
|