EDU.gatech.cc.is.clay
Class v_GlobalPosition_r

java.lang.Object
  |
  +--EDU.gatech.cc.is.clay.Node
        |
        +--EDU.gatech.cc.is.clay.NodeVec2
              |
              +--EDU.gatech.cc.is.clay.v_GlobalPosition_r

public class v_GlobalPosition_r
extends NodeVec2

Report a Vec2 representing the robot's position in global coordinates.

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

Copyright (c)1998 Tucker Balch


Field Summary
static boolean DEBUG
          Turn debug printing on or off.
 
Fields inherited from class EDU.gatech.cc.is.clay.Node
DEBUG, embedded_nodes
 
Constructor Summary
v_GlobalPosition_r(SimpleInterface ar)
          Instantiate a v_GlobalPosition_r schema.
 
Method Summary
 Vec2 Value(long timestamp)
          Return a Vec2 representing the robot's position in global coordinates.
 
Methods inherited from class EDU.gatech.cc.is.clay.Node
initTrial
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

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

v_GlobalPosition_r

public v_GlobalPosition_r(SimpleInterface ar)
Instantiate a v_GlobalPosition_r schema.
Parameters:
ar - SimpleInterface, the abstract_robot object that provides hardware support.
Method Detail

Value

public Vec2 Value(long timestamp)
Return a Vec2 representing the robot's position in global coordinates.
Overrides:
Value in class NodeVec2
Parameters:
timestamp - long, only get new information if timestamp > than last call or timestamp == -1.
Returns:
the heading