EDU.gatech.cc.is.clay
Class va_Add_vav

java.lang.Object
  |
  +--EDU.gatech.cc.is.clay.Node
        |
        +--EDU.gatech.cc.is.clay.NodeVec2Array
              |
              +--EDU.gatech.cc.is.clay.va_Add_vav

public class va_Add_vav
extends NodeVec2Array

Add one vector to an array of others. Useful for converting ego to global or global to ego positions for an array of sensor readings.

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

Copyright (c)1997, 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
va_Add_vav(NodeVec2Array im1, NodeVec2 im2)
          Instantiate a va_Add_vav node.
 
Method Summary
 Vec2[] Value(long timestamp)
          Return a Vec2[] that is the sum of the original values and the embedded node.
 
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

va_Add_vav

public va_Add_vav(NodeVec2Array im1,
                  NodeVec2 im2)
Instantiate a va_Add_vav node.
Parameters:
im1 - NodeVec2Array, the node that generates an Array of vectors to be added.
im2 - NodeVec2, the node that generates a vector to be added to the others.
Method Detail

Value

public Vec2[] Value(long timestamp)
Return a Vec2[] that is the sum of the original values and the embedded node.
Overrides:
Value in class NodeVec2Array
Parameters:
timestamp - long, only get new information if timestamp > than last call or timestamp == -1.
Returns:
the array of Vec2s.