The original intention of this article: For a novice, getting a new lidar, or even having no way to start, do not know how to configure and use it? This article takes the single-line laser radar as an example to explain how to configure and use it in the ubuntu environment.
- 1 network port
- 2 power ports
1. LiDAR IP
Read the lidar user manual and find the IP of the lidar. Generally, it will be given in the manual. If it is not given or cannot be found, you can ask them for technical requirements.
For example:
192.168.198.2
2. Configure the IP of the machine
One end of the network cable is connected to the notebook host, and the other end is connected to the lidar network port. Then manually configure the IP of the notebook Ethernet port (the same LAN as the radar)
192.168.198.1
255.255.255.0
3. Download the ROS driver package
Go to the official website to download
4. Compile ROS
1. Create a new catkin workspace 2. catkin_make will generate build and devel
files after success