-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create a KDTree with an empty input cloud! #49
Comments
Me too |
just change kdtreeNonFeatureFromLocal->setInputCloud(laserCloudNonFeatureFromLocal); to if(!laserCloudNonFeatureFromLocal->empty())
kdtreeNonFeatureFromLocal->setInputCloud(laserCloudNonFeatureFromLocal); |
@whyscience |
you can add log to all the setInputCloud used, then use if(!cloud->empty()) to avoid the ERROR |
@whyscience , Thanks it works! :) Btw, due to the memory increases exponentially, it suddenly shut downed itself. |
Not yet |
|
This error is because there is no assigned value to 'laserCloudCornerLast' variable in <Estimator.cpp> . |
using mid360 I get: |
I have the same problem in mid360. Have you tried in outdoor scene? |
No I haven't. Indoor only. |
Hello, I have the same problem about HAP, have you solved it now? |
1 similar comment
Hello, I have the same problem about HAP, have you solved it now? |
thx, it works! |
Hi. What do you mean by this? If there is no assigned value to 'laserCloudCornerLast' Variable, then how does that link with the FeatureExtract_with_segment function. Could you explain more of how to resolve the issue? Thank you :) |
I am getting the same error can u please explain what changes to be done in code? |
Hi all,
I try to generate a map with LIO-LIVOX using HAP.
I ran my custom rosbag files, and it works well with this error.
I think memory leak is occurred due to this problem, but I do not have an idea to solve this problem
Any solutions?
The text was updated successfully, but these errors were encountered: