E-mail: support@lslidar.com Phone: 0086-0755-23242821 Website: www. lslidar.com Linkedin: LeiShen Intelligent System
37
7.2 ROS Driver
This chapter introduce the point cloud display and driver use of N301-P series LiDAR under linux operating system.The ROS driver is used for
point cloud display, parameter configuration and so on,It can be obtained by contacting our technical support.
7.2.1 Hardware Connection and Testing
Check whether there is a corresponding USB device connected under the /dev directory, and give the device read and write permissions at the same
time.
7.2.2 Software Operation Example
(
1
)
Create a workspace and build a compilation environmentmkdir -p ~/leishen_ws/src
Remarks:
The workspace can be named arbitrarily, for example, leishen_ws can be changed to any name.
(
2
)
LiDAR Drive download and unzip
copy the obtained rosdriver.tar to the newly created working space XXX_ws / src, and extract the .tar file.
(3)Compile Package
cd~/leishen_ws
catkin_make