All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.gatech.cc.is.clay.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

Version:
$Revision: 1.2 $
Author:
Tucker Balch

Variable Index

 o DEBUG
Turn debug printing on or off.

Constructor Index

 o va_Add_vav(NodeVec2Array, NodeVec2)
Instantiate a va_Add_vav node.

Method Index

 o Value(long)
Return a Vec2[] that is the sum of the original values and the embedded node.

Variables

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

Constructors

 o 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.

Methods

 o Value
 public Vec2[] Value(long timestamp)
Return a Vec2[] that is the sum of the original values and the embedded node.

Parameters:
timestamp - long, only get new information if timestamp > than last call or timestamp == -1.
Returns:
the array of Vec2s.
Overrides:
Value in class NodeVec2Array

All Packages  Class Hierarchy  This Package  Previous  Next  Index