All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaSoccer.teams.v_SweetSpot_r

java.lang.Object
   |
   +----EDU.gatech.cc.is.clay.Node
           |
           +----EDU.gatech.cc.is.clay.NodeVec2
                   |
                   +----JavaSoccer.teams.v_SweetSpot_r

public class v_SweetSpot_r
extends NodeVec2
Report the egocentric position of a good spot to kick from. This module is a node used in Clay to configure soccer robot behavior.

For detailed information on how to configure behaviors, see the Clay page.

Copyright (c)1997, 1998 Tucker Balch

Version:
$Revision: 1.1 $
Author:
Tucker Balch

Variable Index

 o DEBUG
Turn debug printing on or off.

Constructor Index

 o v_SweetSpot_r(SocSmall)
Instantiate a v_SweetSpot_r schema.

Method Index

 o Value(long)
Return a Vec2 pointing from the center of the robot to the sweet spot.

Variables

 o DEBUG
 public static final boolean DEBUG
Turn debug printing on or off.

Constructors

 o v_SweetSpot_r
 public v_SweetSpot_r(SocSmall ar)
Instantiate a v_SweetSpot_r schema.

Parameters:
ar - SocSmall, the abstract_robot object that provides hardware support.

Methods

 o Value
 public Vec2 Value(long timestamp)
Return a Vec2 pointing from the center of the robot to the sweet spot.

Parameters:
timestamp - long, only get new information if timestamp > than last call or timestamp == -1.
Returns:
the sensed ball
Overrides:
Value in class NodeVec2

All Packages  Class Hierarchy  This Package  Previous  Next  Index