Main Page   Class Hierarchy   Compound List   Compound Members  

ArActionStallRecover Class Reference

Action to recover from a stall. More...

#include <ArActionStallRecover.h>

Inheritance diagram for ArActionStallRecover::

ArAction List of all members.

Public Methods

 ArActionStallRecover (const char *name="stall recover", double obstacleDistance=225, int cyclesToMove=50, double speed=150, double degreesToTurn=45)
 Constructor. More...

virtual ~ArActionStallRecover (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 recover from a stall.

This action tries to recover if one of the wheels has stalled, it has a series of actions it tries in order to get out of the stall.


Constructor & Destructor Documentation

AREXPORT ArActionStallRecover::ArActionStallRecover const char *    name = "stall recover",
double    obstacleDistance = 225,
int    cyclesToMove = 50,
double    speed = 150,
double    degreesToTurn = 45
 

Constructor.

Parameters:
name  name of the action
obstacleDistance  distance at which not to move because of obstacle. (mm)
cyclesToMove  number of cycles to move (# of cycles)
speed  speed at which to back up or go forward (mm/sec)
degreesToTurn  number of degrees to turn (deg)


Member Function Documentation

AREXPORT ArActionDesired * ArActionStallRecover::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