Creating PointCloud2 in ROS2

Unfortunately we don’t have anything like that at the moment. You might be able to use this header from ROS 1 as a starting point: