#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 | |
float | logOddsOccupied |
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.
GridMapLogOddsFunctions::GridMapLogOddsFunctions | ( | ) | [inline] |
Constructor, sets parameters like free and occupied log odds ratios.
Definition at line 115 of file GridMapLogOdds.h.
float GridMapLogOddsFunctions::getGridProbability | ( | const LogOddsCell & | cell | ) | const [inline] |
Get the probability value represented by the grid cell.
cell | The cell. |
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] |
void GridMapLogOddsFunctions::updateSetOccupied | ( | LogOddsCell & | cell | ) | const [inline] |
void GridMapLogOddsFunctions::updateUnsetFree | ( | LogOddsCell & | cell | ) | const [inline] |
Definition at line 153 of file GridMapLogOdds.h.
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.