Holds the occupancy grid map. More...
#include <crsm_map.h>
Public Member Functions | |
CrsmMap () | |
Default constructor. | |
CrsmMap (unsigned int size_) | |
Constructor. Initialises the probability container with a specific map size. | |
void | expandMap (CrsmExpansion exp) |
Reallocs the map to a specific direction exp [crsm_slam::CrsmExpansion] The expansion to be made. | |
Public Attributes | |
CrsmMapInfo | info |
unsigned char ** | p |
The container of the CRSM SLAM map. Each cell holds an occupancy probability. In the specific implementation 0 states an occupied pixel and 255 a free one. |
Holds the occupancy grid map.
Definition at line 43 of file crsm_map.h.
crsm_slam::CrsmMap::CrsmMap | ( | ) | [inline] |
Default constructor.
Definition at line 52 of file crsm_map.h.
crsm_slam::CrsmMap::CrsmMap | ( | unsigned int | size_ | ) |
Constructor. Initialises the probability container with a specific map size.
size_ | [unsigned int] The map's size in pixels |
Definition at line 28 of file crsm_map.cpp.
void crsm_slam::CrsmMap::expandMap | ( | CrsmExpansion | expansion | ) |
Reallocs the map to a specific direction exp [crsm_slam::CrsmExpansion] The expansion to be made.
Definition at line 50 of file crsm_map.cpp.
Definition at line 47 of file crsm_map.h.
unsigned char** crsm_slam::CrsmMap::p |
The container of the CRSM SLAM map. Each cell holds an occupancy probability. In the specific implementation 0 states an occupied pixel and 255 a free one.
Definition at line 46 of file crsm_map.h.