Livox-SDK/Livox-SDK2

Mid360 does not seem to operate correctly in either docker / WSL on Windows or docker on Mac.

twerdster opened this issue · 1 comments

When I use docker to setup livoxsdk2 on either windows or mac the broadcast binding seems to fail. I have a mid360 connected. Host ip is 192.168.1.22 . I have tried

  • Docker [Ubuntu 20.04] on Mac
  • Docker [Ubuntu 20.04] on Windows
  • WSL [Ubuntu 20.04] on Windows
    I know the device is working because using exactly the same code when running cmake to generate a visual studio 2019 project and running it then the samples work on Windows. Also the livox viewer works with the device.

twrd@home:~/repos/Livox-SDK2/build$ samples/livox_lidar_quick_start/livox_lidar_quick_start ../samples/livox_lidar_quick_start/mid360_config.json
[2024-01-23 03:39:09.970] [console] [info] set master/slave sdk to master sdk by default [parse_cfg_file.cpp] [Parse] [82]
[2024-01-23 03:39:09.971] [console] [info] Livox lidar logger disable. [parse_cfg_file.cpp] [Parse] [126]
[2024-01-23 03:39:09.971] [console] [info] Device type:9 point cloud and IMU data multicast ip:224.1.1.22 [params_check.cpp] [CheckLidarMulticastIp] [114]
[2024-01-23 03:39:09.971] [console] [info] Data Handler Init Succ. [data_handler.cpp] [Init] [49]
bind failed
[2024-01-23 03:39:09.972] [console] [error] Create detection broadcast socket failed. [device_manager.cpp] [CreateDetectionChannel] [266]
[2024-01-23 03:39:09.974] [console] [error] Create detection channel failed. [device_manager.cpp] [CreateChannel] [242]
[2024-01-23 03:39:09.974] [console] [error] Create channel failed. [device_manager.cpp] [Init] [169]

Have you solved this problem? How to solve it? I have this problem too.