7 #ifndef _CELL_OCCUPANCY_ESTIMATOR_H 8 #define _CELL_OCCUPANCY_ESTIMATOR_H 10 #include "../geometry_utils.h" 27 prob_occ(prob), estimation_quality(quality) {}
36 Occupancy(
double prob,
double quality,
double curr_x,
double curr_y) :
37 prob_occ(prob), estimation_quality(quality), x(curr_x), y(curr_y) {}
65 _base_occ_prob(base_occ_prob), _base_empty_prob(base_empty_prob) {}
Occupancy(double prob, double quality, double curr_x, double curr_y)
double y
The estimated obstacle center.
double base_empty_prob()
Returns the probability of being empty.
Occupancy(double prob, double quality)
CellOccupancyEstimator(double base_occ_prob, double base_empty_prob)
double y_end
Coordinates where the beam reaches an obstacle.
bool operator==(const Occupancy &that)
Defines an axis-aligned rectangle.
double estimation_quality
double base_occ_prob()
Returns the probability of being occupied.
double y_st
Coordinates of a start of the beam.