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

Implements an ocupancy grid map using a counting model. More...

#include <OGMReflectProb.h>

Inheritance diagram for OGMReflectProb:
Inheritance graph
[legend]

List of all members.

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.
OGMReflectProbclone () 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
gridMapInterfaceoperator= (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
cellget (int x, int y)
 Returns the occupation probability for a cell.

Private Attributes

cellcells
float step
int totalsize

Detailed Description

Implements an ocupancy grid map using a counting model.

Definition at line 37 of file OGMReflectProb.h.


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