All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.gatech.cc.is.clay.v_SteerHeading_r

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

public class v_SteerHeading_r
extends NodeVec2
Report a Vec2 pointing in the direction of a robot's heading.

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

Variable Index

 o DEBUG
Turn debug printing on or off.

Constructor Index

 o v_SteerHeading_r(SimpleInterface)
Instantiate a psHeadingS schema.

Method Index

 o Value(long)
Return a Vec2 pointing from the center of the robot in the direction of it's heading.

Variables

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

Constructors

 o v_SteerHeading_r
 public v_SteerHeading_r(SimpleInterface ar)
Instantiate a psHeadingS schema.

Parameters:
ar - the abstract_robot object that provides hardware support.

Methods

 o Value
 public Vec2 Value(long timestamp)
Return a Vec2 pointing from the center of the robot in the direction of it's heading.

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index