mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
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:
+6
-6
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user