hku-mars / loam_livox

A robust LiDAR Odometry and Mapping (LOAM) package for Livox-LiDAR
GNU General Public License v2.0
1.42k stars 435 forks source link

"In lidar mode, couldn't connect a hub"What should I do? #117

Closed hsiaochao closed 2 years ago

hsiaochao commented 2 years ago

`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?

hsiaochao commented 2 years ago

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”