build my car(5) ridar

rplidar

build on the pi and dev machine

1
2
3
4
5
6
cd ~/code/dep_ws/src
git clone https://github.com/Slamtec/sllidar_ros2.git
cd ..
colcon build --symlink-install
source install/setup.bash
ros2 launch sllidar_ros2 view_sllidar_launch.py

for normal rplidar

1
sudo apt install ros-foxy-rplidar-ros