mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
row_step of tmp_output should depend on size of tmp_output
This commit is contained in:
@@ -293,7 +293,7 @@ private:
|
|||||||
pcl::concatenatePointCloud(*output, *cloud2, *tmp_output);
|
pcl::concatenatePointCloud(*output, *cloud2, *tmp_output);
|
||||||
#endif
|
#endif
|
||||||
//Make sure row_step is the sum of both
|
//Make sure row_step is the sum of both
|
||||||
tmp_output->row_step = output->row_step + cloud2->row_step;
|
tmp_output->row_step = tmp_output->width * tmp_output->point_step;
|
||||||
output = tmp_output;
|
output = tmp_output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user