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

#include <GridMapSimpleCount.h>

Public Member Functions

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

Public Attributes

float simpleOccVal
 The log odds representation of occupancy probability. More...
 
int updateIndex
 

Detailed Description

Provides a (very) simple count based representation of occupancy

Definition at line 36 of file GridMapSimpleCount.h.

Member Function Documentation

float SimpleCountCell::getValue ( ) const
inline

Returns the value of the cell.

Returns
The log odds value.

Definition at line 53 of file GridMapSimpleCount.h.

bool SimpleCountCell::isFree ( ) const
inline

Definition at line 67 of file GridMapSimpleCount.h.

bool SimpleCountCell::isOccupied ( ) const
inline

Returns wether the cell is occupied.

Returns
Cell is occupied

Definition at line 62 of file GridMapSimpleCount.h.

void SimpleCountCell::resetGridCell ( )
inline

Reset Cell to prior probability.

Definition at line 75 of file GridMapSimpleCount.h.

void SimpleCountCell::set ( float  val)
inline

Sets the cell value to val.

Parameters
valThe log odds value.

Definition at line 44 of file GridMapSimpleCount.h.

Member Data Documentation

float SimpleCountCell::simpleOccVal

The log odds representation of occupancy probability.

Definition at line 85 of file GridMapSimpleCount.h.

int SimpleCountCell::updateIndex

Definition at line 86 of file GridMapSimpleCount.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