mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-10 19:49:49 +08:00
Fixed output rwo_step when inputs are organized
This commit is contained in:
@@ -401,8 +401,8 @@ private:
|
||||
#else
|
||||
pcl::concatenatePointCloud(*assembled, *(*iter), *assembledTmp);
|
||||
#endif
|
||||
//Make sure row_step is the sum of both
|
||||
assembledTmp->row_step = assembled->row_step + (*iter)->row_step;
|
||||
// Make sure row_step is updated
|
||||
assembledTmp->row_step = assembledTmp->point_step * assembledTmp->width;
|
||||
assembled = assembledTmp;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user