The grid cell's model presented in the original tinySLAM paper. More...
#include <tiny_grid_cells.h>
Public Member Functions | |
BaseTinyCell () | |
void | set_value (const Occupancy &value, double quality) override |
double | value () const override |
Private Attributes | |
double | _prob |
The grid cell's model presented in the original tinySLAM paper.
The probability is updated by the following rule:
Definition at line 26 of file tiny_grid_cells.h.
BaseTinyCell::BaseTinyCell | ( | ) | [inline] |
Sets the value of the probability .
Definition at line 31 of file tiny_grid_cells.h.
void BaseTinyCell::set_value | ( | const Occupancy & | value, |
double | quality | ||
) | [inline, override, virtual] |
Merges a given probability with the stored one using a quality as a weight.
[in] | value | - a value of the probability . |
[in] | quality | - the quality of the experiment value . |
Implements GridCell.
Definition at line 41 of file tiny_grid_cells.h.
double BaseTinyCell::value | ( | ) | const [inline, override, virtual] |
Returns the estimated probability.
Implements GridCell.
Definition at line 35 of file tiny_grid_cells.h.
double BaseTinyCell::_prob [private] |
Definition at line 45 of file tiny_grid_cells.h.