Public Member Functions
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]

List of all members.

Public Member Functions

 ConstOccupancyEstimator (double occ, double empty)
virtual Occupancy estimate_occupancy (const Beam &beam, const Rectangle &cell_bnds, bool is_occ) override

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 
) [inline, override, virtual]

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 Thu Jun 6 2019 17:44:58