Public Member Functions | List of all members
ConstOccupancyEstimator Class Reference

ConstEstimator is responsible for the occupancy estimation strategy that returns probability of being occupied for a cell depending only on the cell status predicted by a sensor. More...

#include <const_occupancy_estimator.h>

Inheritance diagram for ConstOccupancyEstimator:
Inheritance graph
[legend]

Public Member Functions

 ConstOccupancyEstimator (double occ, double empty)
 
virtual Occupancy estimate_occupancy (const Beam &beam, const Rectangle &cell_bnds, bool is_occ) override
 
- Public Member Functions inherited from CellOccupancyEstimator
 CellOccupancyEstimator (double base_occ_prob, double base_empty_prob)
 

Additional Inherited Members

- Protected Member Functions inherited from CellOccupancyEstimator
double base_empty_prob ()
 Returns the probability of being empty. More...
 
double base_occ_prob ()
 Returns the probability of being occupied. More...
 

Detailed Description

ConstEstimator is responsible for the occupancy estimation strategy that returns probability of being occupied for a cell depending only on the cell status predicted by a sensor.

Definition at line 11 of file const_occupancy_estimator.h.

Constructor & Destructor Documentation

ConstOccupancyEstimator::ConstOccupancyEstimator ( double  occ,
double  empty 
)
inline

Initializes the estimator with base probabilities.

Parameters
occProbability of being occupied.
emptyProbability of being empty.

Definition at line 18 of file const_occupancy_estimator.h.

Member Function Documentation

virtual Occupancy ConstOccupancyEstimator::estimate_occupancy ( const Beam beam,
const Rectangle cell_bnds,
bool  is_occ 
)
inlineoverridevirtual

Returns base probability of being occupied for the cell defined by bounds.

Parameters
beamA laser beam (ignored).
cell_bndsThe geometric representation of the cell (ignored).
is_occA flag that indicates whether the cell is occupied according to sensor data.

Implements CellOccupancyEstimator.

Definition at line 26 of file const_occupancy_estimator.h.


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


tiny_slam
Author(s):
autogenerated on Mon Jun 10 2019 15:30:57