<div dir="ltr"><div><div><div><div>Hi all, I made a pull request to have a sensor_msgs::PointCloud2 iterator at:<br><a href="https://github.com/ros/common_msgs/pull/16">https://github.com/ros/common_msgs/pull/16</a><br><br>

</div>I was asked to ask the community's opinion as it can have some impact if you deal with point clouds:<br></div>- first, if all you do is read/write point clouds, you could drop the PCL dependency and use that iterator. This is the use case we have in half the packages depending on PCL in Hydro (I have PR requests ready for those, like image_pipeline)<br>

</div>- second, if, in the future, that iterator is the only interface used for read/write, we could transparently change how the standard point clouds (with XYZ and/or RGB(A)) are sent by removing the extra memory paddings. XYZ point clouds would be 3/4th of their size, and XYZRGB(A) ones, half.<br>

<br>We wanted to make sure we're not missing anything so if you have any feedback, please continue the discussion in the PR. Thx.<br><br></div>Vincent<br></div>