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>
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... | |
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.
|
inline |
Initializes the estimator with base probabilities.
occ | Probability of being occupied. |
empty | Probability of being empty. |
Definition at line 18 of file const_occupancy_estimator.h.
|
inlineoverridevirtual |
Returns base probability of being occupied for the cell defined by bounds.
beam | A laser beam (ignored). |
cell_bnds | The geometric representation of the cell (ignored). |
is_occ | A flag that indicates whether the cell is occupied according to sensor data. |
Implements CellOccupancyEstimator.
Definition at line 26 of file const_occupancy_estimator.h.