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-SDK: fix unallocated sdk_framework_cfg_ptr_ #53

Open lucabart97 opened 9 months ago

lucabart97 commented 9 months ago

In DeviceManager, the Init without config path does not allocate the LivoxLidarSdkFrameworkCfg, resulting in a segfault when the callbacks try to check the master_sdk param. Set it by default to true when the initialization is done using the host IP.

LivoxLidarSdkInit(nullptr, "192.168.1.200")