Added Memory::getAllLabels(), added labels to statistics and added DBDriver::getNodeInfo()

This commit is contained in:
Mathieu Labbe
2015-03-06 16:14:09 -05:00
parent 64fc7a05ae
commit 0c55d30f76
13 changed files with 235 additions and 55 deletions
+8 -2
View File
@@ -110,18 +110,21 @@ void RtabmapThread::publishMap(bool optimized, bool full) const
std::map<int, Transform> poses;
std::multimap<int, Link> constraints;
std::map<int, int> mapIds;
std::map<int, std::string> labels;
_rtabmap->get3DMap(signatures,
poses,
constraints,
mapIds,
labels,
optimized,
full);
this->post(new RtabmapEvent3DMap(signatures,
poses,
constraints,
mapIds));
mapIds,
labels));
}
void RtabmapThread::publishTOROGraph(bool optimized, bool full) const
@@ -130,17 +133,20 @@ void RtabmapThread::publishTOROGraph(bool optimized, bool full) const
std::map<int, Transform> poses;
std::multimap<int, Link> constraints;
std::map<int, int> mapIds;
std::map<int, std::string> labels;
_rtabmap->getGraph(poses,
constraints,
mapIds,
labels,
optimized,
full);
this->post(new RtabmapEvent3DMap(signatures,
poses,
constraints,
mapIds));
mapIds,
labels));
}