#include <ArActionAvoidSide.h>
Inheritance diagram for ArActionAvoidSide:

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.
Public Member Functions | |
| ArActionAvoidSide (const char *name="Avoid side", double obstacleDistance=300, double turnAmount=5) | |
| Constructor. | |
| virtual ArActionDesired * | fire (ArActionDesired currentDesired) |
| virtual const ArActionDesired * | getDesired (void) const |
| virtual ArActionDesired * | getDesired (void) |
| virtual | ~ArActionAvoidSide () |
| Destructor. | |
Protected Attributes | |
| ArActionDesired | myDesired |
| double | myObsDist |
| double | myTurnAmount |
| bool | myTurning |
|
||||||||||||||||
|
Constructor.
|
1.4.2