updated for compressed cv::Mat data format

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@1938 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-10-28 19:59:19 +00:00
parent 52c6bd60eb
commit f122090620
7 changed files with 63 additions and 21 deletions
+6 -6
View File
@@ -220,9 +220,9 @@ void GuiWrapper::infoMapCallback(
words,
std::multimap<int, pcl::PointXYZ>(),
Transform(), // not set, see poses above
mapMsg->nodes[0].depth2D.bytes,
mapMsg->nodes[0].image.bytes,
mapMsg->nodes[0].depth.bytes,
compressedMatFromBytes(mapMsg->nodes[0].depth2D.bytes),
compressedMatFromBytes(mapMsg->nodes[0].image.bytes),
compressedMatFromBytes(mapMsg->nodes[0].depth.bytes),
mapMsg->nodes[0].fx,
mapMsg->nodes[0].fy,
mapMsg->nodes[0].cx,
@@ -304,9 +304,9 @@ void GuiWrapper::processRequestedMap(const rtabmap::MapData & map)
words,
std::multimap<int, pcl::PointXYZ>(),
Transform(), // not set, see poses above
map.nodes[i].depth2D.bytes,
map.nodes[i].image.bytes,
map.nodes[i].depth.bytes,
compressedMatFromBytes(map.nodes[i].depth2D.bytes),
compressedMatFromBytes(map.nodes[i].image.bytes),
compressedMatFromBytes(map.nodes[i].depth.bytes),
map.nodes[i].fx,
map.nodes[i].fy,
map.nodes[i].cx,