Sorry, I mean actually adding the points. In Ros1, I think the easiest way to create a PointCloud2, was to create a pcl::PointCloud and convert it to PointCloud2, since the pcl::PointCloud allowed you to push_back points.
Now I'm wondering how to go from a list of points to a PointCloud2, preferably without just copying pcl::toROSMsg
Thanks for the reply.
---
[Visit Topic](
https://discourse.ros.org/t/creating-pointcloud2-in-ros2/986/3) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>