Browse Source

change driver_lidar_bk_16z. not complete.

yuchuli 3 months ago
parent
commit
d77d7cbc6f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/driver/driver_lidar_bk_16z/lidar_16z.cpp

+ 1 - 0
src/driver/driver_lidar_bk_16z/lidar_16z.cpp

@@ -123,5 +123,6 @@ void lidar_16z::ThreadDecode()
 
 
 int lidar_16z::GetPointCloud(pcl::PointCloud<pcl::PointXYZI>::Ptr & point_cloud)
 int lidar_16z::GetPointCloud(pcl::PointCloud<pcl::PointXYZI>::Ptr & point_cloud)
 {
 {
+    if(mbpcupdate == false)return 0;
     return 1;
     return 1;
 }
 }