All Packages Class Hierarchy This Package Previous Next Index
Class EDU.gatech.cc.is.clay.v_GlobalToEgo_rv
java.lang.Object
|
+----EDU.gatech.cc.is.clay.Node
|
+----EDU.gatech.cc.is.clay.NodeVec2
|
+----EDU.gatech.cc.is.clay.v_GlobalToEgo_rv
- public class v_GlobalToEgo_rv
- extends NodeVec2
Convert a global Vec2 to egocentric coordinates
based on the positional information provided by a SimpleInterface robot.
For detailed information on how to configure behaviors, see the
Clay page.
Copyright
(c)1997, 1998 Tucker Balch
- Version:
- $Revision: 1.3 $
- Author:
- Tucker Balch
-
DEBUG
-
Turn debug printing on or off.
-
v_GlobalToEgo_rv(SimpleInterface, NodeVec2)
- Instantiate a v_GlobalToEgo_rv schema.
-
Value(long)
- Return a Vec2 representing the egocentric coordinate of
the embedded global schema.
DEBUG
public static final boolean DEBUG
- Turn debug printing on or off.
v_GlobalToEgo_rv
public v_GlobalToEgo_rv(SimpleInterface ar,
NodeVec2 im1)
- Instantiate a v_GlobalToEgo_rv schema.
- Parameters:
- ar - SimpleInterface, the abstract_robot object
that provides hardware support.
- im1 - NodeVec2, the embedded node.
Value
public Vec2 Value(long timestamp)
- Return a Vec2 representing the egocentric coordinate of
the embedded global schema.
- Parameters:
- timestamp - long, only get new information
if timestamp > than last call or timestamp == -1.
- Returns:
- the egocentric coordinate.
- Overrides:
- Value in class NodeVec2
All Packages Class Hierarchy This Package Previous Next Index