How do I write point cloud data with coordinates stored as 32-bit integers as PointCloud2 messages?
I am writing LiDAR data from CSV files that store x, y, z, and intensity each as numbers too large to be stored as single bytes. The definition of PointCloud2 (http://docs.ros.org/en/noetic/api/sen...) tells us that the data should actually be stored as a 1-dimensional array of bytes. How do I indicate that four bytes describe a single coordinate?