使用RPLIDAR A2來跑hectorslam
首先需要安裝hectorslam,方法如下:sudo apt-get install ros-indigo-hector-slam然後安裝RPLIDAR的驅動,具體方法如下:ls -l /dev |grep ttyUSBAdd the authority of write: (such as /dev/ttyUSB0) sudo chmod 666 /dev/tt