MRXT: The Multi-Robot eXploration Tool
Multi-Robot autonomous exploration and mapping simulator.
Public Member Functions | Private Attributes
rangeSensorData Class Reference

Implements the data returned by a range sensor like a laser. More...

#include <rangeSensorData.h>

List of all members.

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
posegetSensorPose (int s) const
 returns the pose of a sensor s in robot coordinates
posegetSensorPoses ()
 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
rangeSensorDataoperator= (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
posesensorPos

Detailed Description

Implements the data returned by a range sensor like a laser.

Definition at line 20 of file rangeSensorData.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs