MRXT: The Multi-Robot eXploration Tool
Multi-Robot autonomous exploration and mapping simulator.
|
Implements an ocupancy grid map using a counting model. More...
#include <OGMReflectProb.h>
Public Member Functions | |
OGMReflectProb () | |
Default Constructor. | |
OGMReflectProb (float w, float h, float res, float x, float y) | |
Constructor with size in meters and related to real coordinates. | |
virtual | ~OGMReflectProb () |
Destructor. | |
OGMReflectProb * | clone () const |
clone method | |
float | getValue (int x, int y) const |
return the occupancy probability of the cell | |
void | initialize (float w, float h, float res, float x, float y) |
Initializes with size in meters and related to real coordinates. | |
int | loadMapFromFile (const char *file) |
load a map from disk | |
gridMapInterface & | operator= (const gridMapInterface &) |
assigment operator | |
void | reset () |
Resets the occupation probability for the total map. | |
int | saveMapToFile (const char *file) const |
save a map to disk | |
void | update (const rangeSensorData &rsData, const pose &rpos, float disp=0) |
Updates the occupancy grid using the new data. | |
Private Member Functions | |
OGMReflectProb (const OGMReflectProb &) | |
copy constructor | |
cell & | get (int x, int y) |
Returns the occupation probability for a cell. | |
Private Attributes | |
cell * | cells |
float | step |
int | totalsize |
Implements an ocupancy grid map using a counting model.
Definition at line 37 of file OGMReflectProb.h.