```
sensor_msgs::PointCloud2Iterator<float> iter_x(*last_received_cloud_, "x");
sensor_msgs::PointCloud2Iterator<float> iter_y(*last_received_cloud_, "y");
sensor_msgs::PointCloud2Iterator<float> iter_z(*last_received_cloud_, "z");
```
使用这个代码可以解析PointCloud2