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

ArActionAvoidSide Class Reference

#include <ArActionAvoidSide.h>

Inheritance diagram for ArActionAvoidSide:

ArAction List of all members.

Detailed Description

Action to avoid impacts by firening into walls at a shallow angle.

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 ArActionDesiredfire (ArActionDesired currentDesired)
virtual const ArActionDesiredgetDesired (void) const
virtual ArActionDesiredgetDesired (void)
virtual ~ArActionAvoidSide ()
 Destructor.

Protected Attributes

ArActionDesired myDesired
double myObsDist
double myTurnAmount
bool myTurning


Constructor & Destructor Documentation

ArActionAvoidSide::ArActionAvoidSide const char *  name = "Avoid side",
double  obstacleDistance = 300,
double  turnAmount = 5
 

Constructor.

Parameters:
name name of the action
obstacleDistance distance at which to start avoiding (mm)
turnAmount degrees at which to turn (deg)


The documentation for this class was generated from the following files:
Generated on Thu Jan 7 10:34:40 2010 for Aria by  doxygen 1.4.2