Giter VIP home page Giter VIP logo

Comments (5)

h-wata avatar h-wata commented on August 16, 2024

I faced same issue.

from livox_horizon_loam.

Olive-Wang avatar Olive-Wang commented on August 16, 2024

I faced same issue.
Have you fixed it ?

from livox_horizon_loam.

mick-h avatar mick-h commented on August 16, 2024

I have been getting the same issue. It seems like it was initially caused by a lot of instances of laserCloudCornerLast being empty when the following call was made at laserOdometry.cpp:521:
kdtreeCornerLast->setInputCloud(laserCloudCornerLast);

This resulted in the error:
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
being thrown multiple times. After this had happened quite a few times the laserOdometry-3 process would die.

A great deal of these were caused by my rosbag having a lot of points recorded while the lidar was stationary. I removed this data and started to get a proper point cloud being generated, but the same thing started to happen later in the bag. As a stop-gap measure I placed a conditional around the two setInputCloud calls to stop them happening if the arguments were empty collections. This allowed the processing to proceed further into the data, however there continued to be a lot of iterations where the laserCloudCornerLast was empty, and after a period the laserOdometry-3 process would still die before getting very far into the bag.

It would be helpful if @Livox-SDK or someone else in the Livox team could explain what causes that collection to be empty, and whether or not it's possible to continue processing with some modifications to the algorithm.

from livox_horizon_loam.

Livox-SDK avatar Livox-SDK commented on August 16, 2024

Hi all,
I suspecting this error is caused by 'roslaunch loam_horizon loam_livox_horizon.launch' is not compatible with pcl 1.8.
Would you mind if tryring to run this code with pcl 1.7?
@mick-h @h-wata @Olive-Wang

from livox_horizon_loam.

Rotoslider avatar Rotoslider commented on August 16, 2024

I have the same issue of it failing after a while. [laserOdometry-3] process has died RVIS just stops but the terminal window still chugs along like nothing is wrong.
When do you plan on making this compatible with newer versions of PCL? All my other SLAM software is working with PLC 1.8. Maybe its an easy fix for you I hope.

from livox_horizon_loam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.