Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

ArActionStop Class Reference

Action for stopping the robot. More...

#include <ArActionStop.h>

Inheritance diagram for ArActionStop:

ArAction List of all members.

Public Member Functions

 ArActionStop (const char *name="stop")
 Constructor.
virtual ArActionDesiredfire (ArActionDesired currentDesired)
 Fires the action, returning what the action wants to do.
virtual ArActionDesiredgetDesired (void)
 Gets what this action wants to do (for display purposes).
virtual ~ArActionStop ()
 Destructor.

Protected Attributes

ArActionDesired myDesired

Detailed Description

Action for stopping the robot.

This action simply sets the robot to a 0 velocity and a deltaHeading of 0.

Definition at line 37 of file ArActionStop.h.


Constructor & Destructor Documentation

ArActionStop::ArActionStop const char *  name = "stop"  ) 
 

Constructor.

Parameters:
name name of the action

Definition at line 34 of file ArActionStop.cpp.


Member Function Documentation

ArActionDesired * ArActionStop::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

Implements ArAction.

Definition at line 43 of file ArActionStop.cpp.

References ArActionDesired::reset(), ArActionDesired::setDeltaHeading(), and ArActionDesired::setVel().


The documentation for this class was generated from the following files:
Generated on Wed Oct 19 12:56:42 2005 for Aria by  doxygen 1.4.0