Introduction and use of lidar

1. Program function description

After the program runs, drive the LIDAR, turn on the lidar scanning data, visualise the data scanned by the LIDAR in rviz.

2. Program code reference path

The location of the source code for this function is located at.

3. Programme start

Since the lidar chassis is already booting up and self-starting, to start the lidar separately, please stop the self-starting service first and enter the command in the terminal:

Screenshot of the run, for example starting "MS200 lidar + Visualisation".

image-20230420173621551

The data from the lidar scan can be printed with the following command,

image-20230420173947925

4. Introduction to Silan lidar

4.1 Overview

Single-line Lidar refers to the lidar where the beam emitted from the laser source is a single line, which is divided into triangulation and TOF Lidar, and is mainly used in the robotics

It is mainly used in the field of robotics. Its scanning speed is fast, strong resolution, high reliability, compared with multi-line Lidar, single-line Lidar in the angular frequency and

Sensitivity of single-line LIDAR is faster, so it is more accurate in the distance and accuracy of obstacle ranging.

4.2. Ranging Principle

A1 lidar uses triangulation method and S2 lidar uses TOF method.

4.3. Baud rate used

The baud rate of A1 lidar is 115200, and the baud rate of S2 lidar is 1000000.

4.4. Differences between various LIDAR models

image-20230420175315235

image-20230420175335824

From the above figure, it can be seen that parameters such as measurement radius, sampling speed, scanning frequency and angular resolution are important indicators of the lidar's operational performance.

image-20230420175433741

A higher scanning frequency ensures that the LIDAR-mounted robot achieves faster speeds and guarantees the quality of the map construction. But to Increase the scanning frequency is not simply a matter of accelerating the rotation of the scanning motors inside the LiDAR, but corresponds to an increase in the ranging sampling rate. Otherwise, when the sampling rate is fixed, a faster scanning speed will only reduce the angular resolution. In addition to the range and scanning frequency, parameters such as measurement resolution and map building accuracy are also important. In addition to the range and scanning frequency, parameters such as measurement resolution and map building accuracy are also important for Lidar performance, and these are the most important parameters to ensure the stability of the robot. These parameters are important for the stability of the robot.