以下在虚拟机中完成的(ubuntu12.04-amd64-ros-exbot-h2-140520). 进入catkin_ws,下载代码: cd ~/catkin_ws/src/ git clone https://github.com/robopeak/rplidar_ros.git 编译 cd ~/catkin_ws/ catkin_make --pkg rplidar_ros 插入USB接口的rplidar,测试端口: exbot@ubuntu:~$ ls /dev/ttyUSB* /dev…