Public Member Functions | Protected Member Functions | Protected Attributes
GridMapLogOddsFunctions Class Reference

#include <GridMapLogOdds.h>

List of all members.

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
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

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) [inline, protected]

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.

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

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

Definition at line 206 of file GridMapLogOdds.h.

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 Mon Oct 6 2014 00:33:51