# Option slam-control gives better control for debugging purposes over internat states ## State Machine ## 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:
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:
Pseudo code of the decision tree:
if ( | time-of-state-execution < 100 | ) | //
{
transition-to-state(reset);
}
else
{
transition-to-state(slam-mode);
}