mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
Merge pull request #649 from nobleo/fix/point_cloud_aggregator
[point_cloud_aggregator] pointrow_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);
|
||||
#endif
|
||||
//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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user