#include <occupancy_grid.hpp>
The estimate and updates are performed in log-odds space using inverse observation models.
Definition at line 34 of file occupancy_grid.hpp.
Public Member Functions | |
| OccupancyEstimator (double prior=0.5) | |
| Constructor. | |
| void | condition (double posterior) |
| Conditions this estimator on new evidence. | |
| double | estimate () const |
| Returns an estimate of the probability this cell is occupied. | |
Protected Attributes | |
| double | prior_log_odds |
| This is the prior probability the cell is occupied. | |
| double | log_odds |
| This is the log-odds ratio of the probability the cell is occupied. | |
Friends | |
| class | OccupancyGrid |
| class | OccupancyGrid::StateComparator |
|
|
Constructor.
Definition at line 57 of file occupancy_grid.hpp. References log_odds, and prior_log_odds. |
|
|
Conditions this estimator on new evidence.
Definition at line 67 of file occupancy_grid.hpp. References log_odds, and prior_log_odds. Referenced by Arak::OccupancyGrid::laser(), Arak::OccupancyGrid::laser_scan(), and Arak::OccupancyGrid::sonar(). |
|
|
Returns an estimate of the probability this cell is occupied.
Definition at line 75 of file occupancy_grid.hpp. References log_odds. Referenced by Arak::OccupancyGrid::write(). |
|
|
Definition at line 36 of file occupancy_grid.hpp. |
|
|
Definition at line 37 of file occupancy_grid.hpp. |
|
|
This is the log-odds ratio of the probability the cell is occupied.
Definition at line 50 of file occupancy_grid.hpp. Referenced by condition(), estimate(), OccupancyEstimator(), and Arak::OccupancyGrid::OccupancyGrid(). |
|
|
This is the prior probability the cell is occupied.
Definition at line 44 of file occupancy_grid.hpp. Referenced by condition(), OccupancyEstimator(), and Arak::OccupancyGrid::OccupancyGrid(). |
1.3.6