Livox-SDK / Livox-SDK2

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

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

Open twerdster opened 8 months ago

twerdster commented 8 months ago

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

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]

gaohaojia commented 7 months ago

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