config file or initialization error with Livox-SDK2 v1.2.4
gabrielheider opened this issue · 0 comments
gabrielheider commented
my sdk2_config.json looks like this (like specified in the README):
{
"master_sdk" : true,
"lidar_log_enable" : true,
"lidar_log_cache_size_MB" : 500,
"lidar_log_path" : "./",
"HAP": {
"lidar_net_info" : {
"cmd_data_port" : 56000,
"push_msg_port" : 0,
"point_data_port": 57000,
"imu_data_port" : 58000,
"log_data_port" : 59000
},
"host_net_info" : [
{
"lidar_ip" : ["192.168.1.10","192.168.1.11","192.168.1.12", "192.168.1.13"],
"host_ip" : "192.168.12.207",
"cmd_data_port" : 56000,
"push_msg_port" : 0,
"point_data_port": 57000,
"imu_data_port" : 58000,
"log_data_port" : 59000
}
]
},
"MID360": {
"lidar_net_info" : {
"cmd_data_port" : 56100,
"push_msg_port" : 56200,
"point_data_port": 56300,
"imu_data_port" : 56400,
"log_data_port" : 56500
},
"host_net_info" : [
{
"lidar_ip" : ["192.168.1.3"],
"host_ip" : "192.168.12.207",
"cmd_data_port" : 56101,
"push_msg_port" : 56201,
"point_data_port": 56301,
"imu_data_port" : 56401,
"log_data_port" : 56501
}
]
}
}
i get this errors:
[2023-12-14 15:20:28.953] [console] [error] Parse lidar net info failed, has not host_net_info member or host_net_info is not object. [parse_cfg_file.cpp] [ParseHostNetInfo] [259]
[2023-12-14 15:20:28.953] [console] [error] Parse host net info failed. [parse_cfg_file.cpp] [ParseLidarCfg] [182]
[2023-12-14 15:20:28.953] [console] [error] Parse hap lidar cfg failed. [parse_cfg_file.cpp] [Parse] [99]
Livox Init Failed
what am i doing wrong?
many thanks in advance!