EDU.gatech.cc.is.clay
Class va_Subtract_vav
java.lang.Object
|
+--EDU.gatech.cc.is.clay.Node
|
+--EDU.gatech.cc.is.clay.NodeVec2Array
|
+--EDU.gatech.cc.is.clay.va_Subtract_vav
- public class va_Subtract_vav
- extends NodeVec2Array
Subtract one vector from an array of others. Useful for converting
ego to global 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. |
Method Summary |
Vec2[] |
Value(long timestamp)
Return a Vec2Array that is the difference of the original values and the
embedded schema. |
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 |
DEBUG
public static final boolean DEBUG
- Turn debug printing on or off.
va_Subtract_vav
public va_Subtract_vav(NodeVec2Array im1,
NodeVec2 im2)
- Instantiate an va_Subtract_vav schema.
- Parameters:
im1
- NodeVec2Array, an embedded node that generates an
Array of vectors to be subtracted.im2
- NodeVec2, an embedded node that generates a vector
to be subtracted from the others.
Value
public Vec2[] Value(long timestamp)
- Return a Vec2Array that is the difference of the original values and the
embedded schema.
- Overrides:
- Value in class NodeVec2Array
- Parameters:
timestamp
- long, only get new information if timestamp > than last call
or timestamp == -1.- Returns:
- the array of subtracted Vec2s.