loam_velodyne报错:[laserMapping-4] process has died

loam_velodyne报错:

[laserMapping-4] process has died [pid 21120, exit code -11, cmd /home/lacyexsale/catkin_ws/devel/lib/loam_velodyne/laserMapping __name:=laserMapping __log:=/home/lacyexsale/.ros/log/39a53944-c082-11eb-a753-4889e7812798/laserMapping-4.log].
log file: /home/lacyexsale/.ros/log/39a53944-c082-11eb-a753-4889e7812798/laserMapping-4*.log

解决方法:

将loam_velodyne目录下的CMakeLists.txt的第35行注释掉

#add_definitions( -march=native )

参考链接
https://github.com/laboshinl/loam_velodyne/issues/71

你可能感兴趣的:(ROS学习笔记,linux,slam,ubuntu)