#include <ArActionLimiterBackwards.h>
Inheritance diagram for ArActionLimiterBackwards:
This class limits the backwards motion of the robot according to range sensor readings (e.g. sonar, laser), and the parameters given. When the range sensor (e.g. sonar or laser) detects rearward obstacles closer than the given parameters, this action requests that the robot decelerate or stop any current backwards movement.
Public Member Functions | |
ArActionLimiterBackwards (const char *name="speed limiter", double stopDistance=-250, double slowDistance=-600, double maxBackwardsSpeed=-250, double widthRatio=1.5) | |
Constructor. | |
virtual ArActionDesired * | fire (ArActionDesired currentDesired) |
virtual const ArActionDesired * | getDesired (void) const |
virtual ArActionDesired * | getDesired (void) |
virtual | ~ArActionLimiterBackwards () |
Destructor. | |
Protected Attributes | |
ArActionDesired | myDesired |
double | myMaxBackwardsSpeed |
double | mySlowDist |
double | myStopDist |
double | myWidthRatio |