All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.gatech.cc.is.clay.va_VisualObjects_r

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

public class va_VisualObjects_r
extends NodeVec2Array
Reports a list of Vec2s pointing to the type of attractor requested and detected by a vision-equipped robot.

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_VisualObjects_r(int, VisualObjectSensor)
Instantiate a va_VisualObjects_r node.

Method Index

 o Value(long)
Return an array of Vec2s pointing from the center of the robot to the detected attractors.

Variables

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

Constructors

 o va_VisualObjects_r
 public va_VisualObjects_r(int t,
                           VisualObjectSensor ar)
Instantiate a va_VisualObjects_r node.

Parameters:
ar - VisualObjectSensor, abstract_robot object that provides hardware support.

Methods

 o Value
 public Vec2[] Value(long timestamp)
Return an array of Vec2s pointing from the center of the robot to the detected attractors.

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index