Files
X-lanni d0688eb122 Update LSLiDAR driver and AGV configs
1. LSLiDAR driver:
 - Fixed packet header check in serial parser
 - Updated angle compensation for M10 series
 - Fixed angle discontinuity bug
 - Added optional PointCloud2 publishing
 - Added optional LaserScan publishing
 - Added support for ROS 2 Humble
 - Added support for dual-echo LiDARs
 - Added TXT-based config loading

2. RViz:
 - Updated gmapping.rviz file for SLAM display

3. AGV bringup:
 - Modified launch file for LSN10P integration
2025-06-14 16:28:30 +08:00

45 lines
932 B
Markdown
Executable File

# lslidar
## Description
The `lslidar package is a linux ROS2 driver for lslidar M10 ,M10_GPS,M10_P,M10_PLUS and N10.
The package is tested on Ubuntu 20.04 with ROS2 FOXY.
## Compling
This is a Catkin package. Make sure the package is on `ROS_PACKAGE_PATH` after cloning the package to your workspace. And the normal procedure for compling a catkin package will work.
```
cd your_work_space
colcon build
source install/setup.bash
ros2 launch lslidar_driver lslidar_launch.py
```
open new terminal
ros2 topic pub -1 /lslidar_order std_msgs/msg/Int8 data:\ 1\ (open radar)
ros2 topic pub -1 /lslidar_order std_msgs/msg/Int8 data:\ 0\ (close radar)
ros2 launch lslidar_driver lslidar_launch.py
```
Note that this launch file launches both the driver, which is the only launch file needed to be used.
## FAQ
## Bug Report
Prefer to open an issue. You can also send an E-mail to honghangli@lslidar.com
RERTION