-
rosdep install --from-paths src --ignore-src -r -y
-
sudo apt install libpcap-dev libyaml-cpp-dev
-
sudo apt install python3-catkin-tools
-
catkin build
-
Set static IP as 192.168.1.100 and subnet mask to 255.255.255.0 in the computer so as to enable communication with Lidar
-
Check the data packets using Wireshark. To install Wireshark: 'sudo apt update sudo apt install wireshark (Allow non-super users to capture packets)'
-
Set the name of lidar as XT32 in launch file
Refer: src/HesaiLidar_General_ROS/launch/hesai_lidar.launch