occupancy_map.h
Go to the documentation of this file.
1 #ifndef SLAM_CTOR_CORE_OCCUPANCY_MAP_H
2 #define SLAM_CTOR_CORE_OCCUPANCY_MAP_H
3 
4 #include "../states/state_data.h"
5 
10 template <typename AreaId, typename OccupancyInfo>
11 class OccupancyMap {
12  // TODO: [API Clean Up] Rename, e.g. add_observation.
14  virtual void update(const AreaId &, const AreaOccupancyObservation &) = 0;
16  virtual OccupancyInfo occupancy(const AreaId &) const = 0;
17 };
18 
19 #endif
virtual OccupancyInfo occupancy(const AreaId &) const =0
Returns known information about the occupancy of a given area.
virtual void update(const AreaId &, const AreaOccupancyObservation &)=0
Updates area with a given observation.
A base class for occupancy maps.
Definition: occupancy_map.h:11


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