Skip to main content
Version: 2.4.6

How to check LiDAR connectivity

Please check the following to connect lidars correctly:

Cable connection check (Go to Quick start guide)

Check the network settings It must same netmask with lidar ip address

For example. lidar ip : 192.168.6.156, lidar netmask : 255.255.255.0
Computer ip : 192.168.6.XX, computer netmask : 255.255.255.0

Network check

Firewall check

sudo ufw status

Firewall check

If status is active, you should turn off ufw.

sudo ufw disable

Ping test If the lidar ip is 192.168.6.190, you can check like picture below. If it connects well, you can see like below(64 bytes from XXXX : ~)

Ping test

note

Ping failure: check Wireshark (sudo apt-get install wireshark) When you type the ifconfig command in your terminal, you can see your ethernet name. Ex ) Below picture shows, ip : 192.168.6.30, ethernet name : enp4s0

ping failure0

After you check your device information, you should type sudo wireshark. If you type the command, you can see the picture like below.

ping failure1

Please click your ethernet name as you checked above.

  1. If it connects well, you can see packet messages with blue color.

ping failure2

  1. If something has a problem, you can see the lidar packet below. Below pictures uses Hesai lidar

ping failure3

Ping success: Please input lidar’s IP and port number correctly

Routing table check If it does not works with above method, you can add your lidar port number with below command sudo iptables -I INPUT -p udp --dport (lidar port number) -j ACCEPT After you add the port number, you can see like below. EX ) my ip address number 2370

routing table check

Logo
If you need access, please contact