cell_occupancy_estimator.h
Go to the documentation of this file.
1 #ifndef SLAM_CTOR_CORE_CELL_OCCUPANCY_ESTIMATOR_H
2 #define SLAM_CTOR_CORE_CELL_OCCUPANCY_ESTIMATOR_H
3 
4 #include "../geometry_utils.h"
5 #include "../states/state_data.h" // the Occupancy class
6 
8 public:
10  const Occupancy& base_empty):
11  _base_occ(base_occ), _base_empty(base_empty) {}
12  virtual ~CellOccupancyEstimator() = default;
13  virtual Occupancy estimate_occupancy(const Segment2D &beam,
14  const Rectangle &cell_bnds,
15  bool is_occ) = 0;
16 protected:
17  const Occupancy& base_occupied() const { return _base_occ; }
18  const Occupancy& base_empty() const { return _base_empty; }
19 private:
21 };
22 
23 #endif
virtual Occupancy estimate_occupancy(const Segment2D &beam, const Rectangle &cell_bnds, bool is_occ)=0
CellOccupancyEstimator(const Occupancy &base_occ, const Occupancy &base_empty)
const Occupancy & base_empty() const
virtual ~CellOccupancyEstimator()=default
const Occupancy & base_occupied() const


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:25