Public Member Functions | Private Attributes
MapsManager Class Reference

#include <MapsManager.h>

List of all members.

Public Member Functions

void clear ()
cv::Mat generateGridMap (const std::map< int, rtabmap::Transform > &filteredPoses, float &xMin, float &yMin, float &gridCellSize)
cv::Mat generateProjMap (const std::map< int, rtabmap::Transform > &filteredPoses, float &xMin, float &yMin, float &gridCellSize)
std::map< int, rtabmap::TransformgetFilteredPoses (const std::map< int, rtabmap::Transform > &poses)
rtabmap::OctoMapgetOctomap () const
bool hasSubscribers () const
 MapsManager (bool usePublicNamespace)
void publishMaps (const std::map< int, rtabmap::Transform > &poses, const ros::Time &stamp, const std::string &mapFrameId)
std::map< int, rtabmap::TransformupdateMapCaches (const std::map< int, rtabmap::Transform > &poses, const rtabmap::Memory *memory, bool updateCloud, bool updateProj, bool updateGrid, bool updateScan, bool updateOctomap, const std::map< int, rtabmap::Signature > &signatures=std::map< int, rtabmap::Signature >())
virtual ~MapsManager ()

Private Attributes

std::map< int, std::vector
< rtabmap::CameraModel > > 
cameraModels_
double cloudCeilingCullingHeight_
int cloudDecimation_
double cloudFloorCullingHeight_
bool cloudFrustumCulling_
ros::Publisher cloudMapPub_
double cloudMaxDepth_
double cloudMinDepth_
int cloudNoiseFilteringMinNeighbors_
double cloudNoiseFilteringRadius_
bool cloudOutputVoxelized_
std::map< int, pcl::PointCloud
< pcl::PointXYZRGB >::Ptr > 
clouds_
double cloudVoxelSize_
double gridCellSize_
bool gridEroded_
ros::Publisher gridMapPub_
std::map< int, std::pair
< cv::Mat, cv::Mat > > 
gridMaps_
double gridMaxUnknownSpaceFilledRange_
double gridSize_
bool gridUnknownSpaceFilled_
bool mapCacheCleanup_
double mapFilterAngle_
double mapFilterRadius_
bool negativePosesIgnored_
rtabmap::OctoMapoctomap_
ros::Publisher octoMapCloud_
ros::Publisher octoMapEmptySpace_
bool octomapGroundIsObstacle_
ros::Publisher octoMapProj_
ros::Publisher octoMapPubBin_
ros::Publisher octoMapPubFull_
int octomapTreeDepth_
bool projDetectFlatObstacles_
bool projMapFrame_
ros::Publisher projMapPub_
std::map< int, std::pair
< cv::Mat, cv::Mat > > 
projMaps_
double projMaxGroundAngle_
double projMaxGroundHeight_
double projMaxObstaclesHeight_
int projMinClusterSize_
int scanDecimation_
ros::Publisher scanMapPub_
bool scanOutputVoxelized_
std::map< int, pcl::PointCloud
< pcl::PointXYZ >::Ptr > 
scans_
double scanVoxelSize_

Detailed Description

Definition at line 43 of file MapsManager.h.


Constructor & Destructor Documentation

MapsManager::MapsManager ( bool  usePublicNamespace)

Definition at line 56 of file MapsManager.cpp.

Definition at line 211 of file MapsManager.cpp.


Member Function Documentation

Definition at line 225 of file MapsManager.cpp.

cv::Mat MapsManager::generateGridMap ( const std::map< int, rtabmap::Transform > &  filteredPoses,
float &  xMin,
float &  yMin,
float &  gridCellSize 
)

Definition at line 1131 of file MapsManager.cpp.

cv::Mat MapsManager::generateProjMap ( const std::map< int, rtabmap::Transform > &  filteredPoses,
float &  xMin,
float &  yMin,
float &  gridCellSize 
)

Definition at line 1115 of file MapsManager.cpp.

std::map< int, Transform > MapsManager::getFilteredPoses ( const std::map< int, rtabmap::Transform > &  poses)

Definition at line 251 of file MapsManager.cpp.

Definition at line 80 of file MapsManager.h.

Definition at line 238 of file MapsManager.cpp.

void MapsManager::publishMaps ( const std::map< int, rtabmap::Transform > &  poses,
const ros::Time stamp,
const std::string &  mapFrameId 
)

Definition at line 777 of file MapsManager.cpp.

std::map< int, rtabmap::Transform > MapsManager::updateMapCaches ( const std::map< int, rtabmap::Transform > &  poses,
const rtabmap::Memory memory,
bool  updateCloud,
bool  updateProj,
bool  updateGrid,
bool  updateScan,
bool  updateOctomap,
const std::map< int, rtabmap::Signature > &  signatures = std::map<int, rtabmap::Signature>() 
)

Definition at line 262 of file MapsManager.cpp.


Member Data Documentation

std::map<int, std::vector<rtabmap::CameraModel> > MapsManager::cameraModels_ [private]

Definition at line 125 of file MapsManager.h.

Definition at line 89 of file MapsManager.h.

Definition at line 84 of file MapsManager.h.

Definition at line 88 of file MapsManager.h.

Definition at line 91 of file MapsManager.h.

Definition at line 113 of file MapsManager.h.

double MapsManager::cloudMaxDepth_ [private]

Definition at line 85 of file MapsManager.h.

double MapsManager::cloudMinDepth_ [private]

Definition at line 86 of file MapsManager.h.

Definition at line 93 of file MapsManager.h.

Definition at line 92 of file MapsManager.h.

Definition at line 90 of file MapsManager.h.

std::map<int, pcl::PointCloud<pcl::PointXYZRGB>::Ptr > MapsManager::clouds_ [private]

Definition at line 123 of file MapsManager.h.

double MapsManager::cloudVoxelSize_ [private]

Definition at line 87 of file MapsManager.h.

double MapsManager::gridCellSize_ [private]

Definition at line 103 of file MapsManager.h.

bool MapsManager::gridEroded_ [private]

Definition at line 105 of file MapsManager.h.

Definition at line 115 of file MapsManager.h.

std::map<int, std::pair<cv::Mat, cv::Mat> > MapsManager::gridMaps_ [private]

Definition at line 127 of file MapsManager.h.

Definition at line 107 of file MapsManager.h.

double MapsManager::gridSize_ [private]

Definition at line 104 of file MapsManager.h.

Definition at line 106 of file MapsManager.h.

Definition at line 110 of file MapsManager.h.

double MapsManager::mapFilterAngle_ [private]

Definition at line 109 of file MapsManager.h.

Definition at line 108 of file MapsManager.h.

Definition at line 111 of file MapsManager.h.

Definition at line 129 of file MapsManager.h.

Definition at line 119 of file MapsManager.h.

Definition at line 120 of file MapsManager.h.

Definition at line 131 of file MapsManager.h.

Definition at line 121 of file MapsManager.h.

Definition at line 117 of file MapsManager.h.

Definition at line 118 of file MapsManager.h.

Definition at line 130 of file MapsManager.h.

Definition at line 101 of file MapsManager.h.

Definition at line 102 of file MapsManager.h.

Definition at line 114 of file MapsManager.h.

std::map<int, std::pair<cv::Mat, cv::Mat> > MapsManager::projMaps_ [private]

Definition at line 126 of file MapsManager.h.

Definition at line 97 of file MapsManager.h.

Definition at line 100 of file MapsManager.h.

Definition at line 99 of file MapsManager.h.

Definition at line 98 of file MapsManager.h.

Definition at line 94 of file MapsManager.h.

Definition at line 116 of file MapsManager.h.

Definition at line 96 of file MapsManager.h.

std::map<int, pcl::PointCloud<pcl::PointXYZ>::Ptr > MapsManager::scans_ [private]

Definition at line 124 of file MapsManager.h.

double MapsManager::scanVoxelSize_ [private]

Definition at line 95 of file MapsManager.h.


The documentation for this class was generated from the following files:


rtabmap_ros
Author(s): Mathieu Labbe
autogenerated on Sun Jul 24 2016 03:49:08