All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface EDU.gatech.cc.is.abstractrobot.VisualObjectSensor

public interface VisualObjectSensor
Provides an abstract interface to the simulated hardware of a robot that equipped with vision.

Copyright (c)1997, 1998 Tucker Balch

Version:
$Revision: 1.2 $
Author:
Tucker Balch

Method Index

 o getVisualObjects(long, int)
Get an array of Vec2s that represent the locations of visually sensed objects egocentrically from center of the robot to the objects currently sensed by the vision system.

Methods

 o getVisualObjects
 public abstract Vec2[] getVisualObjects(long timestamp,
                                         int channel)
Get an array of Vec2s that represent the locations of visually sensed objects egocentrically from center of the robot to the objects currently sensed by the vision system.

Parameters:
timestamp - only get new information if timestamp > than last call or timestamp == -1 .
channel - (1-6) which type/color of object to retrieve.
Returns:
the sensed objects.

All Packages  Class Hierarchy  This Package  Previous  Next  Index