Public Member Functions | Private Attributes
MapsManager Class Reference

#include <MapsManager.h>

List of all members.

Public Member Functions

void backwardCompatibilityParameters (ros::NodeHandle &pnh, rtabmap::ParametersMap &parameters) const
void clear ()
std::map< int, rtabmap::TransformgetFilteredPoses (const std::map< int, rtabmap::Transform > &poses)
cv::Mat getGridMap (float &xMin, float &yMin, float &gridCellSize)
cv::Mat getGridProbMap (float &xMin, float &yMin, float &gridCellSize)
const rtabmap::OccupancyGridgetOccupancyGrid () const
const rtabmap::OctoMapgetOctomap () const
bool hasSubscribers () const
void init (ros::NodeHandle &nh, ros::NodeHandle &pnh, const std::string &name, bool usePublicNamespace)
 MapsManager ()
void publishMaps (const std::map< int, rtabmap::Transform > &poses, const ros::Time &stamp, const std::string &mapFrameId)
void set2DMap (const cv::Mat &map, float xMin, float yMin, float cellSize, const std::map< int, rtabmap::Transform > &poses, const rtabmap::Memory *memory=0)
void setParameters (const rtabmap::ParametersMap &parameters)
std::map< int, rtabmap::TransformupdateMapCaches (const std::map< int, rtabmap::Transform > &poses, const rtabmap::Memory *memory, bool updateGrid, bool updateOctomap, const std::map< int, rtabmap::Signature > &signatures=std::map< int, rtabmap::Signature >())
virtual ~MapsManager ()

Private Attributes

pcl::PointCloud
< pcl::PointXYZRGB >::Ptr 
assembledGround_
rtabmap::FlannIndex assembledGroundIndex_
std::map< int, rtabmap::TransformassembledGroundPoses_
rtabmap::FlannIndex assembledObstacleIndex_
std::map< int, rtabmap::TransformassembledObstaclePoses_
pcl::PointCloud
< pcl::PointXYZRGB >::Ptr 
assembledObstacles_
ros::Publisher cloudGroundPub_
ros::Publisher cloudMapPub_
ros::Publisher cloudObstaclesPub_
bool cloudOutputVoxelized_
bool cloudSubtractFiltering_
int cloudSubtractFilteringMinNeighbors_
cv::Mat gridMap_
ros::Publisher gridMapPub_
std::map< int, std::pair
< std::pair< cv::Mat, cv::Mat >
, cv::Mat > > 
gridMaps_
std::map< int, cv::Point3f > gridMapsViewpoints_
std::map< int, rtabmap::TransformgridPoses_
ros::Publisher gridProbMapPub_
std::map< int, pcl::PointCloud
< pcl::PointXYZRGB >::Ptr > 
groundClouds_
bool mapCacheCleanup_
double mapFilterAngle_
double mapFilterRadius_
bool negativePosesIgnored_
bool negativeScanEmptyRayTracing_
std::map< int, pcl::PointCloud
< pcl::PointXYZRGB >::Ptr > 
obstacleClouds_
rtabmap::OccupancyGridoccupancyGrid_
rtabmap::OctoMapoctomap_
ros::Publisher octoMapCloud_
ros::Publisher octoMapEmptySpace_
ros::Publisher octoMapGroundCloud_
ros::Publisher octoMapObstacleCloud_
ros::Publisher octoMapProj_
ros::Publisher octoMapPubBin_
ros::Publisher octoMapPubFull_
int octomapTreeDepth_
rtabmap::ParametersMap parameters_
ros::Publisher projMapPub_
ros::Publisher scanMapPub_

Detailed Description

Definition at line 46 of file MapsManager.h.


Constructor & Destructor Documentation

Definition at line 59 of file MapsManager.cpp.

Definition at line 164 of file MapsManager.cpp.


Member Function Documentation

Definition at line 233 of file MapsManager.cpp.

Definition at line 341 of file MapsManager.cpp.

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

Definition at line 379 of file MapsManager.cpp.

cv::Mat MapsManager::getGridMap ( float &  xMin,
float &  yMin,
float &  gridCellSize 
)

Definition at line 1346 of file MapsManager.cpp.

cv::Mat MapsManager::getGridProbMap ( float &  xMin,
float &  yMin,
float &  gridCellSize 
)

Definition at line 1355 of file MapsManager.cpp.

Definition at line 83 of file MapsManager.h.

const rtabmap::OctoMap* MapsManager::getOctomap ( ) const [inline]

Definition at line 82 of file MapsManager.h.

Definition at line 361 of file MapsManager.cpp.

void MapsManager::init ( ros::NodeHandle nh,
ros::NodeHandle pnh,
const std::string &  name,
bool  usePublicNamespace 
)

Definition at line 76 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 769 of file MapsManager.cpp.

void MapsManager::set2DMap ( const cv::Mat &  map,
float  xMin,
float  yMin,
float  cellSize,
const std::map< int, rtabmap::Transform > &  poses,
const rtabmap::Memory memory = 0 
)

Definition at line 293 of file MapsManager.cpp.

void MapsManager::setParameters ( const rtabmap::ParametersMap parameters)

Definition at line 276 of file MapsManager.cpp.

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

Definition at line 390 of file MapsManager.cpp.


Member Data Documentation

pcl::PointCloud<pcl::PointXYZRGB>::Ptr MapsManager::assembledGround_ [private]

Definition at line 114 of file MapsManager.h.

Definition at line 115 of file MapsManager.h.

Definition at line 111 of file MapsManager.h.

Definition at line 116 of file MapsManager.h.

Definition at line 112 of file MapsManager.h.

pcl::PointCloud<pcl::PointXYZRGB>::Ptr MapsManager::assembledObstacles_ [private]

Definition at line 113 of file MapsManager.h.

Definition at line 97 of file MapsManager.h.

Definition at line 96 of file MapsManager.h.

Definition at line 98 of file MapsManager.h.

Definition at line 87 of file MapsManager.h.

Definition at line 88 of file MapsManager.h.

Definition at line 89 of file MapsManager.h.

cv::Mat MapsManager::gridMap_ [private]

Definition at line 121 of file MapsManager.h.

Definition at line 100 of file MapsManager.h.

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

Definition at line 122 of file MapsManager.h.

std::map<int, cv::Point3f> MapsManager::gridMapsViewpoints_ [private]

Definition at line 123 of file MapsManager.h.

std::map<int, rtabmap::Transform> MapsManager::gridPoses_ [private]

Definition at line 120 of file MapsManager.h.

Definition at line 101 of file MapsManager.h.

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

Definition at line 117 of file MapsManager.h.

Definition at line 92 of file MapsManager.h.

double MapsManager::mapFilterAngle_ [private]

Definition at line 91 of file MapsManager.h.

Definition at line 90 of file MapsManager.h.

Definition at line 93 of file MapsManager.h.

Definition at line 94 of file MapsManager.h.

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

Definition at line 118 of file MapsManager.h.

Definition at line 125 of file MapsManager.h.

Definition at line 127 of file MapsManager.h.

Definition at line 105 of file MapsManager.h.

Definition at line 108 of file MapsManager.h.

Definition at line 106 of file MapsManager.h.

Definition at line 107 of file MapsManager.h.

Definition at line 109 of file MapsManager.h.

Definition at line 103 of file MapsManager.h.

Definition at line 104 of file MapsManager.h.

Definition at line 128 of file MapsManager.h.

Definition at line 130 of file MapsManager.h.

Definition at line 99 of file MapsManager.h.

Definition at line 102 of file MapsManager.h.


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


rtabmap_ros
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:30:50