728x90
0. My environment
- Ubuntu 18.04
- ROS melodic
1. git clone rplidar source
$ cd catkin_ws/src
$ git clone https://github.com/Slamtec/rplidar_ros
$ cd ..
$ catkin_make
2. source bash
$ source ~/catkin_ws/devel/setup.bash
3. Get permision USB
$ ls /dev/ttyUSB*
$ sudo chmod 0666 /dev/ttyUSB0
4. Test
$ roslaunch rplidar_ros view_rplidar.launch
Reference:
https://github.com/Slamtec/rplidar_ros
728x90
'ROS' 카테고리의 다른 글
[ROS] How to control Robot (0) | 2023.02.21 |
---|---|
[ROS] BNO055 IMU with I2C (0) | 2023.02.14 |
[ROS] full coverage path planning (0) | 2023.02.09 |
[ROS] custom msg (0) | 2023.02.01 |
[ROS] rviz 없이 navigation (0) | 2023.01.20 |