ros2与传感器-激光雷达LDS
ros2与传感器-激光雷达LDS
说明:
- 介绍如何在ros2下使用激光雷达LDS
步骤:
- 下载源码
cd ~/sensor_ws/src
git clone -b ros2 https://github.com/ROBOTIS-GIT/hls_lfcd_lds_driver.git
- 编译
cd ~/sensor_ws/
colcon build --symlink-install --packages-select hls_lfcd_lds_driver
- 运行
ros2 launch hls_lfcd_lds_driver hlds_laser.launch.py
- 查看激光数据
ros2 launch hls_lfcd_lds_driver view_hlds_laser.launch.py
获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号