Skip to content

RPLidar Setup

cattt28 edited this page Aug 14, 2019 · 1 revision

Hardware:

  1. Use Velcro strips to attach the sensor to the center of the middle plate of the robot, with the cable pointing toward the front of the robot.
  2. Connect a USB hub to the back of the laptop, and connect the sensor and the Kobuki to the USB hub.

Software:

  1. cd into the src folder of your workspace, then install the code for the sensor with mkdir dependencies cd dependencies git clone https://github.com/Slamtec/rplidar_ros.git

  2. To set up the permissions to make it work, cd to the root folder, then do sudo cp ~/catkin_ws/src/dependencies/rplidar_ros/scripts/rplidar.rules /etc/udev/rules.d

Clone this wiki locally