roslaunch livox_ros_driver livox_lidar.launch
然后报错:In lidar mode, couldn't connect a hub:。
已知livox_ros_driver的内部代码
void LdsLidar::OnDeviceBroadcast(const BroadcastDeviceInfo *info) {
if (info == nullptr) {
return;
}
if (info->dev_type == kDeviceTypeHub) {
printf("In lidar mode, couldn't connect a hub : %s\n", info->broadcast_code);
return;
所以,“info->dev_type == kDeviceTypeHub“怎么解决