25 template <
typename TCELL>
    44         const unsigned x, 
const unsigned y, 
const cell_t logodd_obs,
    45         const cell_t thres, 
cell_t* mapArray, 
const unsigned _size_x)
    47         cell_t* theCell = mapArray + (x + y * _size_x);
    49             *theCell -= logodd_obs;
    51             *theCell = traits_t::CELLTYPE_MIN;
    68             *theCell -= logodd_obs;
    70             *theCell = traits_t::CELLTYPE_MIN;
    85         const unsigned x, 
const unsigned y, 
const cell_t logodd_obs,
    86         const cell_t thres, 
cell_t* mapArray, 
const unsigned _size_x)
    88         cell_t* theCell = mapArray + (x + y * _size_x);
    90             *theCell += logodd_obs;
    92             *theCell = traits_t::CELLTYPE_MAX;
   109         if (*theCell < thres)
   110             *theCell += logodd_obs;
   112             *theCell = traits_t::CELLTYPE_MAX;
 
OccGridCellTraits::cellType cell_t
The type of cells. 
 
static void updateCell_fast_free(const unsigned x, const unsigned y, const cell_t logodd_obs, const cell_t thres, cell_t *mapArray, const unsigned _size_x)
Performs the Bayesian fusion of a new observation of a cell, without checking for grid limits nor upd...
 
A generic provider of log-odds grid-map maintainance functions. 
 
static void updateCell_fast_free(cell_t *theCell, const cell_t logodd_obs, const cell_t thres)
Performs the Bayesian fusion of a new observation of a cell, without checking for grid limits nor upd...
 
static void updateCell_fast_occupied(cell_t *theCell, const cell_t logodd_obs, const cell_t thres)
Performs the Bayesian fusion of a new observation of a cell, without checking for grid limits nor upd...
 
static void updateCell_fast_occupied(const unsigned x, const unsigned y, const cell_t logodd_obs, const cell_t thres, cell_t *mapArray, const unsigned _size_x)
Performs the Bayesian fusion of a new observation of a cell, without checking for grid limits nor upd...