Aria: ArBumpers Class Reference

- Main Page
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# ArBumpers Class Reference

`#include <ArBumpers.h>`

Inheritance diagram for ArBumpers:

List of all members.

## Detailed Description

A class that treats the robot's bumpers as a range device.

The class treats bumpers like a range device. When a bumper is bumped, it reports the approximate position of the bump in a buffer. The positions are kept current for a specified length of time.

## Public Member Functions
void | addBumpToBuffer (int bumpValue, int whichBumper)
| ArBumpers (size_t currentBufferSize=30, size_t cumulativeBufferSize=30, const char *name="bumpers", int maxSecondsToKeepCurrent=15, double angleRange=135)
void | processReadings (void)
virtual void | setRobot (ArRobot *robot)
## Protected Attributes
double | myAngleRange
int | myBumpMask
ArFunctorC< ArBumpers > | myProcessCB
ArRobot * | myRobot

The documentation for this class was generated from the following file:

- ArBumpers.h