Option penalty_shooter

Gives an output precision.penalty-shooter to handle-ball-penalty-shooter

State Machine

This browser can't display the SVG file svg/option_penalty_shooter.svg.



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

State penalty_playing

If that state is active,
 >  The option handle_ball_penalty_shooter is executed.
 >  The option localize is executed.
 
The decision tree:
  This browser can't display the SVG file svg/option_penalty_shooter_state_penalty_playing.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 (
(ball.time_since_last_seen() > 5000)
&& 
(
!(strategy.ball_is_grabbed)
)
)
{
  
goto search;
}
else
{
  
stay;
}
If that state is active,
 >  The option search_ball is executed.
 
The decision tree:
  This browser can't display the SVG file svg/option_penalty_shooter_state_search.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 ( ball.was_seen() )
{
  
goto penalty_playing;
}
else
{
  
stay;
}