Option search_for_middle_circle

Scan mode for looking at the middle circle/searching for the middle circle

State Machine

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



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

State search_for_middle_circle

If that state is active,
 >  The option head_sweep_scan is executed. Parameters:
    head_sweep_scan.start_left_side  =  selfloc.middle_circle.y() > 0 ;
 
The decision tree:
  This browser can't display the SVG file svg/option_search_for_middle_circle_state_search_for_middle_circle.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 ( selfloc.middle_circle.was_seen() )
{
  
goto look_at_middle_circle;
}
else
{
  
stay;
}

State look_at_middle_circle

If that state is active,
 >  The option look_at_point is executed. Parameters:
    look_at_point.x  =  selfloc.middle_circle.x() ;
    look_at_point.y  =  selfloc.middle_circle.y() ;
    look_at_point.z  =  0 ;
 
The decision tree:
  This browser can't display the SVG file svg/option_search_for_middle_circle_state_look_at_middle_circle.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 ( selfloc.middle_circle.time_since_seen() > 1000)
{
  
goto search_for_middle_circle;
}
else
{
  
stay;
}