Eric Wang
Eric Wang
It's useful when distance is large
refer to this, solve it for ROS catkin build on Ubuntu 16.04, thanks.
just change ```cpp kdtreeNonFeatureFromLocal->setInputCloud(laserCloudNonFeatureFromLocal); ``` to ```cpp if(!laserCloudNonFeatureFromLocal->empty()) kdtreeNonFeatureFromLocal->setInputCloud(laserCloudNonFeatureFromLocal); ```
you can add log to all the setInputCloud used, then use if(!cloud->empty()) to avoid the ERROR
I also want to know
also this ``` hal_usb_bulk.c:106:13: note: ‘snprintf’ output between 5 and 68 bytes into a destination of size 64 snprintf(usbBulk2EpOutFd, sizeof(usbBulk2EpOutFd), "%s/ep1", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linkConfig.usbBulkConfig.usbBulk2DeviceName); ```
code is here ```cpp /* * Software License Agreement (BSD License) * * Copyright (c) 2011-2014, Willow Garage, Inc. * Copyright (c) 2014-2016, Open Source Robotics Foundation * All rights...