MRXT: The Multi-Robot eXploration Tool
Multi-Robot autonomous exploration and mapping simulator.
|
Implements an array of landmarks returned by a sensor. More...
#include <landmarksData.h>
Public Member Functions | |
landmarksData () | |
Default Constructor. | |
landmarksData (int nLandmarks) | |
Builds the structure reserving space for nLandmarks. | |
landmarksData (const landmarksData &) | |
Copy constructor. | |
~landmarksData () | |
Default destructor. | |
void | addLandmark (const landmark &lm) |
sets the landmark n of the array | |
void | clear () |
clear the data | |
landmark & | getLandmark (int n) const |
returns the landmark n of the array | |
landmark * | getLandmarks () |
returns a pointer to the data | |
int | getNLandmarks () const |
returns the number of landmarks | |
landmarksData & | operator= (const landmarksData &lmd) |
asignment operator | |
void | reserve (int nLandmarks) |
resize the array to nLandmarks (this operation deletes the previous data) | |
Private Attributes | |
float | distMAX |
float | distMIN |
float | gammaMAX |
landmark * | landmarks |
unsigned short | marksReserved |
unsigned short | nLandmarks |
Implements an array of landmarks returned by a sensor.
Definition at line 57 of file landmarksData.h.