Option look_at_ball

lets the robot look at the ball

State Machine

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



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

State look_at_ball

If that state is active,
 >  The option look_at_point is executed. Parameters:
    look_at_point.x  =  ball.position.projected.x() ;
    look_at_point.y  =  ball.position.projected.y() ;
    look_at_point.z  =  (field.ball_radius() * 2) ;
 
The decision tree:
  This browser can't display the SVG file svg/option_look_at_ball_state_look_at_ball.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:
 
stay;