Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GridMapLogOddsFunctions Class Reference

#include <GridMapLogOdds.h>

Public Member Functions

float getGridProbability (const LogOddsCell &cell) const
 
 GridMapLogOddsFunctions ()
 
void setUpdateFreeFactor (float factor)
 
void setUpdateOccupiedFactor (float factor)
 
void updateSetFree (LogOddsCell &cell) const
 
void updateSetOccupied (LogOddsCell &cell) const
 
void updateUnsetFree (LogOddsCell &cell) const
 

Protected Member Functions

float probToLogOdds (float prob)
 

Protected Attributes

float logOddsFree
 < The log odds representation of probability used for updating cells as occupied More...
 
float logOddsOccupied
 

Detailed Description

Provides functions related to a log odds of occupancy probability respresentation for cells in a occupancy grid map.

Definition at line 108 of file GridMapLogOdds.h.

Constructor & Destructor Documentation

GridMapLogOddsFunctions::GridMapLogOddsFunctions ( )
inline

Constructor, sets parameters like free and occupied log odds ratios.

Definition at line 115 of file GridMapLogOdds.h.

Member Function Documentation

float GridMapLogOddsFunctions::getGridProbability ( const LogOddsCell cell) const
inline

Get the probability value represented by the grid cell.

Parameters
cellThe cell.
Returns
The probability

Definition at line 163 of file GridMapLogOdds.h.

float GridMapLogOddsFunctions::probToLogOdds ( float  prob)
inlineprotected

Definition at line 199 of file GridMapLogOdds.h.

void GridMapLogOddsFunctions::setUpdateFreeFactor ( float  factor)
inline

Definition at line 187 of file GridMapLogOdds.h.

void GridMapLogOddsFunctions::setUpdateOccupiedFactor ( float  factor)
inline

Definition at line 192 of file GridMapLogOdds.h.

void GridMapLogOddsFunctions::updateSetFree ( LogOddsCell cell) const
inline

Update cell as free

Parameters
cellThe cell.

Definition at line 146 of file GridMapLogOdds.h.

void GridMapLogOddsFunctions::updateSetOccupied ( LogOddsCell cell) const
inline

Update cell as occupied

Parameters
cellThe cell.

Definition at line 135 of file GridMapLogOdds.h.

void GridMapLogOddsFunctions::updateUnsetFree ( LogOddsCell cell) const
inline

Definition at line 153 of file GridMapLogOdds.h.

Member Data Documentation

float GridMapLogOddsFunctions::logOddsFree
protected

< The log odds representation of probability used for updating cells as occupied

Definition at line 206 of file GridMapLogOdds.h.

float GridMapLogOddsFunctions::logOddsOccupied
protected

Definition at line 205 of file GridMapLogOdds.h.


The documentation for this class was generated from the following file:


hector_mapping
Author(s): Stefan Kohlbrecher
autogenerated on Sun Nov 3 2019 03:18:33