28#ifndef CORELIB_SRC_CLOUDMAP_H_
29#define CORELIB_SRC_CLOUDMAP_H_
31#include "rtabmap/core/rtabmap_core_export.h"
33#include <rtabmap/core/GlobalMap.h>
35#include <pcl/point_cloud.h>
36#include <pcl/point_types.h>
47 const pcl::PointCloud<pcl::PointXYZRGB>::Ptr & getMapGround()
const {
return assembledGround_;}
48 const pcl::PointCloud<pcl::PointXYZRGB>::Ptr & getMapObstacles()
const {
return assembledObstacles_;}
49 const pcl::PointCloud<pcl::PointXYZ>::Ptr & getMapEmptyCells()
const {
return assembledEmptyCells_;}
54 virtual void assemble(
const std::list<std::pair<int, Transform> > & newPoses);
57 pcl::PointCloud<pcl::PointXYZRGB>::Ptr assembledGround_;
58 pcl::PointCloud<pcl::PointXYZRGB>::Ptr assembledObstacles_;
59 pcl::PointCloud<pcl::PointXYZ>::Ptr assembledEmptyCells_;
unsigned long getMemoryUsed() const
Approximate memory used by assembled-node bookkeeping (bytes).
virtual void clear()
Clears assembled nodes and grid bounds; does not clear LocalGridCache.
virtual void assemble(const std::list< std::pair< int, Transform > > &newPoses)
Subclass hook: merge newPoses into the global map; call addAssembledNode().
Abstract base for assembling per-node LocalGrid data into a global map.
Cache of LocalGrid entries keyed by map node id.
std::map< std::string, std::string > ParametersMap
Parameter keys mapped to their values, as used by every configurable class (see Parameters).