if (info->dev_type == kDeviceTypeHub) {
printf("In lidar mode, couldn't connect a hub : %s\n", info->broadcast_code);
return;
`
In my work,
I do "roslaunch livox_ros_driver livox_lidar.launch",
it print "In lidar mode, couldn't connect a hub :",
because info->dev_type == kDeviceTypeHub,
so, what should I do?
If you use livox hub, you should "roslaunch livox_ros_driver livox_hub.launch" and modify profile “/catkin_ws/src/livox_ros_driver/livox_ros_driver/config/livox_hub_config.json”
`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; ` In my work, I do "roslaunch livox_ros_driver livox_lidar.launch", it print "In lidar mode, couldn't connect a hub :", because info->dev_type == kDeviceTypeHub, so, what should I do?