link:
https://blog.csdn.net/geerniya/article/details/90681003
1. Get the original pcap file
2. Play back the pcap file
on the ros. On the ros, modify the rs_lidar_32.launch file in ros_rslidar to play back the pcap
command:
source devel/setup.bash
roslaunch rslidar_pointcloud rs_lidar_32.launch
3. Record package:
命令;rosbag record -O mybag.bag /rslidar_points
4. Display the command of pcd point cloud
pcl_viewer 32.pcd