#include <ArActionAvoidSide.h>
Inheritance diagram for ArActionAvoidSide::
Public Methods | |
ArActionAvoidSide (const char *name="Avoid side", double obstacleDistance=300, double turnAmount=5) | |
Constructor. More... | |
virtual | ~ArActionAvoidSide (void) |
Destructor. | |
virtual ArActionDesired * | fire (ArActionDesired currentDesired) |
Fires the action, returning what the action wants to do. More... | |
virtual ArActionDesired * | getDesired (void) |
Gets what this action wants to do (for display purposes). |
This action watches the sensors to see if it is close to firening into a wall at a shallow enough angle that other avoidance may not avoid.
|
Constructor.
|
|
Fires the action, returning what the action wants to do.
Reimplemented from ArAction. |