Livox-SDK / Livox-SDK2

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

Segmentation fault (core dumped) error #86

Open jiangziben opened 3 months ago

jiangziben commented 3 months ago

In order to use a simple api,i read the source code livox_lidar_sdk.cpp, and use DeviceManager::GetInstance().Init(host_ip, log_cfg_info)) to init lidar,but i get a segmentation fault. could you help me fix it? Screenshot from 2024-08-05 10-22-25

Livox-louie commented 1 month ago

@jiangziben There's no more information to analyze. Maybe you can check if the log initialization has been done? https://github.com/Livox-SDK/Livox-SDK2/blob/6a940156dd7151c3ab6a52442d86bc83613bd11b/sdk_core/livox_lidar_sdk.cpp#L75