pcl bag_to_pcd 源码:http://docs.ros.org/melodic/api/pcl_ros/html/bag__to__pcd_8cpp_source.html bag_to_pcd 示例代码(ROS下订阅topic保存为点云):https://blog.csdn.net/ethan_guo/article/details/80094344