Public Member Functions | Public Attributes | List of all members
LogOddsCell Class Reference

#include <GridMapLogOdds.h>

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

float LogOddsCell::logOddsVal

The log odds representation of occupancy probability.

Definition at line 99 of file GridMapLogOdds.h.

int LogOddsCell::updateIndex

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 Sun Nov 3 2019 03:18:33