Option slam-control

gives better control for debugging purposes over internat states

State Machine

This browser can't display the SVG file svg/option_slam-control.svg.



The Adobe SVG Viewer 3.0 can be downloaded from http://www.adobe.com/svg/viewer/install/main.html

State slam-mode

If that state is active,
 >  The option play-slam is executed.
 
 >  These output symbols are set:
 
    sound-request  =  sound-request.none
 
The decision tree:
  This browser can't display the SVG file svg/option_slam-control_state_slam-mode.svg.



The Adobe SVG Viewer 3.0 can be downloaded from http://www.adobe.com/svg/viewer/install/main.html
 
Pseudo code of the decision tree:
 
if (robot-state.chin-button-pressed-for-three-seconds)   //
{
  
transition-to-state(reset);
}
else
{
  
transition-to-state(slam-mode);
}

State reset

If that state is active,
 >  The basic behavior do-nothing is executed.
 
 >  These output symbols are set:
 
    sound-request  =  sound-request.klick
 
The decision tree:
  This browser can't display the SVG file svg/option_slam-control_state_reset.svg.



The Adobe SVG Viewer 3.0 can be downloaded from http://www.adobe.com/svg/viewer/install/main.html
 
Pseudo code of the decision tree:
 
if (time-of-state-execution < 100)   //
{
  
transition-to-state(reset);
}
else
{
  
transition-to-state(slam-mode);
}