MRXT: The Multi-Robot eXploration Tool
Multi-Robot autonomous exploration and mapping simulator.
|
Implements the data returned by a range sensor like a laser. More...
#include <rangeSensorData.h>
Public Member Functions | |
rangeSensorData () | |
Default constructor. | |
rangeSensorData (int numSensors, float devError, float gammamax, float aperture, float maxDist, float minDist) | |
constructor from config file | |
rangeSensorData (const rangeSensorData &) | |
Copy constructor. | |
virtual | ~rangeSensorData () |
Default destructor. | |
float | getAperture () const |
returns aperture of the cone of measure | |
float * | getData () |
returns a pointer to the array of data | |
float | getDevError () const |
returns the error of the measurement device | |
float | getMaxAngle () const |
returns the maximum range of the sensor | |
float | getMaxDist () const |
returns the maximum range of the sensor | |
float | getMinDist () const |
returns the minimum range of the sensor | |
int | getNumSensors () const |
returns the number of measurements | |
pose & | getSensorPose (int s) const |
returns the pose of a sensor s in robot coordinates | |
pose * | getSensorPoses () |
returns a pointer to the array of sensor poses | |
float | getSensorValue (int s) const |
returns a sensor measurement | |
void | initialize (int numSensors, float devError, float gammamax, float aperture, float maxDist, float minDist) |
initializer | |
rangeSensorData & | operator= (const rangeSensorData &rsd) |
assignment operator | |
void | setSensorPose (int s, const pose &pos) |
sets the pose of a sensor s in robot coordinates | |
void | setSensorValue (int s, float val) |
sets a sensor measurement | |
Private Attributes | |
float | aperture |
float * | data |
float | devError |
float | gammamax |
float | maxDist |
float | minDist |
int | numSensors |
pose * | sensorPos |
Implements the data returned by a range sensor like a laser.
Definition at line 20 of file rangeSensorData.h.