Main Page   Class Hierarchy   Compound List   Compound Members  

ArActionLimiterTableSensor Class Reference

Action to limit speed based on whether there the table-sensors see anything. More...

#include <ArActionLimiterTableSensor.h>

Inheritance diagram for ArActionLimiterTableSensor::

ArAction List of all members.

Public Methods

 ArActionLimiterTableSensor (const char *name="TableSensorLimiter")
 Constructor.

virtual ~ArActionLimiterTableSensor (void)
 Destructor.

virtual ArActionDesiredfire (ArActionDesired currentDesired)
 Fires the action, returning what the action wants to do. More...

virtual ArActionDesiredgetDesired (void)
 Gets what this action wants to do (for display purposes).


Detailed Description

Action to limit speed based on whether there the table-sensors see anything.

This action limits speed to 0 if the table-sensors see anything in front of the robot. The action will only work if the robot has table sensors, meaning that the robots parameter file has them listed as true.


Member Function Documentation

ArActionDesired * ArActionLimiterTableSensor::fire ArActionDesired    currentDesired [virtual]
 

Fires the action, returning what the action wants to do.

Parameters:
currentDesired  this is what the current resolver has for its desired, this is SOLELY for the purpose of giving information to the action
Returns:
pointer to what this action wants to do, NULL if it wants to do nothing

Reimplemented from ArAction.


The documentation for this class was generated from the following files:
Generated on Tue Nov 12 17:43:49 2002 for Aria by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001