Template Struct CLogOddsGridMap3D
Defined in File CLogOddsGridMap3D.h
Inheritance Relationships
Base Type
public mrpt::maps::detail::logoddscell_traits< TCELL >(Template Struct logoddscell_traits)
Struct Documentation
-
template<typename TCELL>
struct CLogOddsGridMap3D : public mrpt::maps::detail::logoddscell_traits<TCELL> A generic provider of log-odds grid-map maintainance functions. Map cells must be type TCELL, which can be only:
int8_t or
int16_t
See also
CLogOddsGridMapLUT, See derived classes for usage examples.
Public Types
-
using traits_t = detail::logoddscell_traits<TCELL>
Public Functions
-
inline void updateCell_fast_occupied(cell_t *theCell, const cell_t logodd_obs, const cell_t thres)
Performs Bayesian fusion of a new observation of a cell. This method increases the “occupancy-ness” of a cell, managing possible saturation.
See also
updateCell, updateCell_fast_free
- Parameters:
theCell – The cell to modify
logodd_obs – Observation of the cell, in log-odd form as transformed by p2l.
thres – This must be CELLTYPE_MIN+logodd_obs
-
inline void updateCell_fast_occupied(const unsigned x, const unsigned y, const unsigned z, const cell_t logodd_obs, const cell_t thres)
Performs Bayesian fusion of a new observation of a cell. This method increases the “occupancy-ness” of a cell, managing possible saturation.
See also
updateCell, updateCell_fast_free
- Parameters:
x – Cell index in X axis.
y – Cell index in Y axis.
z – Cell index in Z axis.
logodd_obs – Observation of the cell, in log-odd form as transformed by p2l.
thres – This must be CELLTYPE_MIN+logodd_obs
-
inline void updateCell_fast_free(cell_t *theCell, const cell_t logodd_obs, const cell_t thres)
Performs Bayesian fusion of a new observation of a cell. This method increases the “free-ness” of a cell, managing possible saturation.
See also
- Parameters:
logodd_obs – Observation of the cell, in log-odd form as transformed by p2l.
thres – This must be CELLTYPE_MAX-logodd_obs
-
inline void updateCell_fast_free(const unsigned x, const unsigned y, const unsigned z, const cell_t logodd_obs, const cell_t thres)
Performs the Bayesian fusion of a new observation of a cell. This method increases the “free-ness” of a cell, managing possible saturation.
See also
- Parameters:
x – Cell index in X axis.
y – Cell index in Y axis.
z – Cell index in Z axis.
logodd_obs – Observation of the cell, in log-odd form as transformed by p2l.
thres – This must be CELLTYPE_MAX-logodd_obs