Livox-SDK / Livox-SDK2

Drivers for receiving LiDAR data and controlling lidar, support Lidar HAP and Mid-360.
Other
89 stars 57 forks source link

Livox MID360 + Livox HAP on the same computer #41

Open changkk opened 1 year ago

changkk commented 1 year ago

Hi, I am trying to get some data from both Livox MID360 and Livox HAP on the same computer and I have a connection issue. I think this should be a simple IP related issue but the guidance from the team would be a huge help!

To describe the issue I have, I set the static IP for MID360 as 192.168.1.50 and I can see the pointcloud on LivoxViewer2. Also, I set the static IP for HAP as 192.168.1.51 and I can see the data on LivoxViewer2 as well.

If I connect them separately I can see the data on the viewer, but when I connect them at the same time with different static IP, only the device that was connected first is visible, not the second one.

The error message I got when I tried to connect the second one is as below:

[2023-05-26 15:57:13.392] [console] [info] Handle detection data, handle:3288443072, dev_type:9, sn:47MDKAA0010296, cmd_port:56100  [general_command_handler.cpp] [HandleDetectionData] [348]
[2023-05-26 15:57:13.392] [console] [info] Host ip:192.168.1.50, lidar ip:192.168.1.196  [general_command_handler.cpp] [VerifyNetSegment] [292]
[2023-05-26 15:57:13.442] [console] [error] Get livox lidar internal info failed, the status:-4  [device_manager.cpp] [GetLivoxLidarInternalInfoCallback] [632]
[2023-05-26 15:57:14.394] [console] [error] Get livox lidar internal info failed, the status:-4  [device_manager.cpp] [GetLivoxLidarInternalInfoCallback] [632]

Could you please give me any guidance about this issue?

NHMMing commented 11 months ago

"192.168.1.50" or "192.168.1.51" you set is host ip? I assume that you should set lidar ip but not host ip