All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.gatech.cc.is.clay.v_Noise_

java.lang.Object
   |
   +----EDU.gatech.cc.is.clay.Node
           |
           +----EDU.gatech.cc.is.clay.NodeVec2
                   |
                   +----EDU.gatech.cc.is.clay.v_Noise_

public class v_Noise_
extends NodeVec2
Generates a vector in a random direction for a specified time. This software module is based on the motor schema formulation developed by Ronald C. Arkin

Arkin's original formulation is described in "Motor Schema Based Mobile Robot Navigation," International Journal of Robotics Research, vol. 8, no 4, pp 92-112.

The source code in this module is based on "first principles" (e.g. published papers) and is not derived from any previously existing software.

For detailed information on how to configure behaviors, see the Clay page.

Copyright (c)1997 Georgia Tech Research Corporation

Version:
$Revision: 1.5 $
Author:
Tucker Balch

Variable Index

 o DEBUG
Turns debug printing on or off.

Constructor Index

 o v_Noise_(double)
Instantiate an v_Noise_ schema.
 o v_Noise_(double, long)
Instantiate an v_Noise_ schema.

Method Index

 o Value(long)
Return a Vec2 representing a random direction to go for a period of time.

Variables

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

Constructors

 o v_Noise_
 public v_Noise_(double t)
Instantiate an v_Noise_ schema.

Parameters:
t - double, how long the random direction should persist in seconds.
 o v_Noise_
 public v_Noise_(double t,
                 long s)
Instantiate an v_Noise_ schema.

Parameters:
t - double, how long the random direction should persist in seconds.
s - long, the random number seed.

Methods

 o Value
 public Vec2 Value(long timestamp)
Return a Vec2 representing a random direction to go for a period of time.

Parameters:
timestamp - only get new information if timestamp > than last call or timestamp == -1.
Returns:
the movement vector.
Overrides:
Value in class NodeVec2

All Packages  Class Hierarchy  This Package  Previous  Next  Index