#include <MapsManager.h>
Public Member Functions | |
void | backwardCompatibilityParameters (ros::NodeHandle &pnh, rtabmap::ParametersMap ¶meters) const |
void | clear () |
std::map< int, rtabmap::Transform > | getFilteredPoses (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::OccupancyGrid * | getOccupancyGrid () const |
const rtabmap::OctoMap * | getOctomap () 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 ¶meters) |
std::map< int, rtabmap::Transform > | 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 >()) |
virtual | ~MapsManager () |
Definition at line 46 of file MapsManager.h.
MapsManager::MapsManager | ( | ) |
Definition at line 59 of file MapsManager.cpp.
|
virtual |
Definition at line 164 of file MapsManager.cpp.
void MapsManager::backwardCompatibilityParameters | ( | ros::NodeHandle & | pnh, |
rtabmap::ParametersMap & | parameters | ||
) | const |
Definition at line 233 of file MapsManager.cpp.
void MapsManager::clear | ( | ) |
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.
|
inline |
Definition at line 83 of file MapsManager.h.
|
inline |
Definition at line 82 of file MapsManager.h.
bool MapsManager::hasSubscribers | ( | ) | const |
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.
|
private |
Definition at line 114 of file MapsManager.h.
|
private |
Definition at line 115 of file MapsManager.h.
|
private |
Definition at line 111 of file MapsManager.h.
|
private |
Definition at line 116 of file MapsManager.h.
|
private |
Definition at line 112 of file MapsManager.h.
|
private |
Definition at line 113 of file MapsManager.h.
|
private |
Definition at line 97 of file MapsManager.h.
|
private |
Definition at line 96 of file MapsManager.h.
|
private |
Definition at line 98 of file MapsManager.h.
|
private |
Definition at line 87 of file MapsManager.h.
|
private |
Definition at line 88 of file MapsManager.h.
|
private |
Definition at line 89 of file MapsManager.h.
|
private |
Definition at line 121 of file MapsManager.h.
|
private |
Definition at line 100 of file MapsManager.h.
|
private |
Definition at line 122 of file MapsManager.h.
|
private |
Definition at line 123 of file MapsManager.h.
|
private |
Definition at line 120 of file MapsManager.h.
|
private |
Definition at line 101 of file MapsManager.h.
|
private |
Definition at line 117 of file MapsManager.h.
|
private |
Definition at line 92 of file MapsManager.h.
|
private |
Definition at line 91 of file MapsManager.h.
|
private |
Definition at line 90 of file MapsManager.h.
|
private |
Definition at line 93 of file MapsManager.h.
|
private |
Definition at line 94 of file MapsManager.h.
|
private |
Definition at line 118 of file MapsManager.h.
|
private |
Definition at line 125 of file MapsManager.h.
|
private |
Definition at line 127 of file MapsManager.h.
|
private |
Definition at line 105 of file MapsManager.h.
|
private |
Definition at line 108 of file MapsManager.h.
|
private |
Definition at line 106 of file MapsManager.h.
|
private |
Definition at line 107 of file MapsManager.h.
|
private |
Definition at line 109 of file MapsManager.h.
|
private |
Definition at line 103 of file MapsManager.h.
|
private |
Definition at line 104 of file MapsManager.h.
|
private |
Definition at line 128 of file MapsManager.h.
|
private |
Definition at line 130 of file MapsManager.h.
|
private |
Definition at line 99 of file MapsManager.h.
|
private |
Definition at line 102 of file MapsManager.h.