Merge branch 'master' of github.com:introlab/rtabmap_ros into ros2

This commit is contained in:
matlabbe
2026-06-14 16:50:27 -07:00
3 changed files with 31 additions and 24 deletions
@@ -390,8 +390,8 @@ void PointCloudAssembler::callbackCloud(const sensor_msgs::msg::PointCloud2::Con
#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;
}
}