首先,打开终端,输入roscore
然后再打开终端输入rosbag play -l lidar.bag
然后在输入rviz
然后进入 catkin_calibrate/src/points_preprocessor/lanch/points_concat_filter_new.lanuch文件
在a的尾数和b的尾数替换一下,然后把1,2,3,4(分别代表雷达集合第1234步骤)中顺序选折复制到第一行,然后保存。
打开rviz可视化工具Fixed Frame 选择 base_link,没有就手打。然后左下角add PointCloud2
,之后style 选择 Flat Squares。