Added mapIds to rtabmap::get3DMap()

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1644 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-08-13 18:57:17 +00:00
parent 4fba63b882
commit 7cf89b6d76
4 changed files with 17 additions and 4 deletions
+7 -2
View File
@@ -110,6 +110,7 @@ void RtabmapThread::publishMap(bool optimized, bool full) const
std::map<int, Transform> localTransforms;
std::map<int, Transform> poses;
std::multimap<int, Link> constraints;
std::map<int, int> mapIds;
_rtabmap->get3DMap(images,
depths,
@@ -121,6 +122,7 @@ void RtabmapThread::publishMap(bool optimized, bool full) const
localTransforms,
poses,
constraints,
mapIds,
optimized,
full);
@@ -133,7 +135,8 @@ void RtabmapThread::publishMap(bool optimized, bool full) const
depthCys,
localTransforms,
poses,
constraints));
constraints,
mapIds));
}
void RtabmapThread::publishTOROGraph(bool optimized, bool full) const
@@ -148,6 +151,7 @@ void RtabmapThread::publishTOROGraph(bool optimized, bool full) const
std::map<int, Transform> localTransforms;
std::map<int, Transform> poses;
std::multimap<int, Link> constraints;
std::map<int, int> mapIds;
_rtabmap->getGraph(poses,
constraints,
@@ -163,7 +167,8 @@ void RtabmapThread::publishTOROGraph(bool optimized, bool full) const
depthCys,
localTransforms,
poses,
constraints));
constraints,
mapIds));
}