#include <ArActionStop.h>
Inheritance diagram for ArActionStop:
Public Member Functions | |
ArActionStop (const char *name="stop") | |
Constructor. | |
virtual ArActionDesired * | fire (ArActionDesired currentDesired) |
Fires the action, returning what the action wants to do. | |
virtual ArActionDesired * | getDesired (void) |
Gets what this action wants to do (for display purposes). | |
virtual | ~ArActionStop () |
Destructor. | |
Protected Attributes | |
ArActionDesired | myDesired |
This action simply sets the robot to a 0 velocity and a deltaHeading of 0.
Definition at line 37 of file ArActionStop.h.
|
Constructor.
Definition at line 34 of file ArActionStop.cpp. |
|
Fires the action, returning what the action wants to do.
Implements ArAction. Definition at line 43 of file ArActionStop.cpp. References ArActionDesired::reset(), ArActionDesired::setDeltaHeading(), and ArActionDesired::setVel(). |