EDU.gatech.cc.is.clay
Class v_EgoToGlobal_rv
java.lang.Object
|
+--EDU.gatech.cc.is.clay.Node
|
+--EDU.gatech.cc.is.clay.NodeVec2
|
+--EDU.gatech.cc.is.clay.v_EgoToGlobal_rv
- public class v_EgoToGlobal_rv
- extends NodeVec2
Convert an egocentric Vec2 to global coordinates
based on the position information proved by the robot.
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. |
Method Summary |
Vec2 |
Value(long timestamp)
Return a Vec2 representing the global coordinate of
the embedded egocentric 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.
v_EgoToGlobal_rv
public v_EgoToGlobal_rv(SimpleInterface ar,
NodeVec2 im1)
- Instantiate a v_EgoToGlobal_rv schema.
- Parameters:
ar
- SimpleInterface, the abstract_robot object
that provides hardware support.im1
- NodeVec2, the embedded egocentric schema.
Value
public Vec2 Value(long timestamp)
- Return a Vec2 representing the global coordinate of
the embedded egocentric schema.
- Overrides:
- Value in class NodeVec2
- Parameters:
timestamp
- long, only get new information
if timestamp > than last call or timestamp == -1.- Returns:
- the global coordinate.