How do you read a PointCloud2 in C++? I'm interested in getting the depth(z point). Maybe an equivalent of this: [reading pointcloud2 in python](https://code.ros.org/trac/ros-pkg/ticket/4440).
↧