Public Member Functions | Public Attributes
LogOddsCell Class Reference

#include <GridMapLogOdds.h>

List of all members.

Public Member Functions

float getValue () const
bool isFree () const
bool isOccupied () const
void resetGridCell ()
void set (float val)

Public Attributes

float logOddsVal
 The log odds representation of occupancy probability.
int updateIndex

Detailed Description

Provides a log odds of occupancy probability representation for cells in a occupancy grid map.

Definition at line 37 of file GridMapLogOdds.h.


Member Function Documentation

float LogOddsCell::getValue ( ) const [inline]

Returns the value of the cell.

Returns:
The log odds value.

Definition at line 67 of file GridMapLogOdds.h.

bool LogOddsCell::isFree ( ) const [inline]

Definition at line 81 of file GridMapLogOdds.h.

bool LogOddsCell::isOccupied ( ) const [inline]

Returns wether the cell is occupied.

Returns:
Cell is occupied

Definition at line 76 of file GridMapLogOdds.h.

void LogOddsCell::resetGridCell ( ) [inline]

Reset Cell to prior probability.

Definition at line 89 of file GridMapLogOdds.h.

void LogOddsCell::set ( float  val) [inline]

Sets the cell value to val.

Parameters:
valThe log odds value.

Definition at line 58 of file GridMapLogOdds.h.


Member Data Documentation

The log odds representation of occupancy probability.

Definition at line 99 of file GridMapLogOdds.h.

Definition at line 100 of file GridMapLogOdds.h.


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


hector_mapping
Author(s): Stefan Kohlbrecher
autogenerated on Wed Aug 26 2015 11:45:03