Skip to content
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

Assertion `point_representation_->isValid (point) && "Invalid (NaN, Inf) point coordinates given to nearestKSearch!"' failed. #87

Open
Howtian opened this issue Jun 1, 2023 · 1 comment

Comments

@Howtian
Copy link

Howtian commented Jun 1, 2023

I tried to make this project work on the MVSEC dataset. The project builds successfully, but I encountered an error when running it:

process[master]: started with pid [380890]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to f1850a8e-0055-11ee-b249-774dad07eac7
process[rosout-1]: started with pid [380919]
started core service [/rosout]
process[lio_processor-2]: started with pid [380922]
process[lio_estimator-3]: started with pid [380926]
I0601 16:26:02.825656 380922 processor_node.cc:81] Sensor type: 16
[ INFO] [1685607981.416245315]: IMU excitation not enough!
[ INFO] [1685607981.634274932]: IMU excitation not enough!
[ INFO] [1685607981.818774868]: IMU excitation not enough!
[ INFO] [1685607982.014487588]: IMU excitation not enough!
[ INFO] [1685607982.221817065]: IMU excitation not enough!
[ INFO] [1685607982.433679933]: IMU excitation not enough!
[ INFO] [1685607982.601356215]: IMU excitation not enough!
[ INFO] [1685607982.818099749]: IMU excitation not enough!
[ INFO] [1685607983.037882917]: IMU excitation not enough!
[ INFO] [1685607983.235481990]: IMU excitation not enough!
[ INFO] [1685607983.422925701]: IMU excitation not enough!
[ INFO] [1685607983.621766514]: IMU excitation not enough!
[ INFO] [1685607983.832177132]: IMU excitation not enough!
[ INFO] [1685607984.025370253]: IMU excitation not enough!
[ INFO] [1685607984.222996446]: IMU excitation not enough!
[ WARN] [1685607984.422520512]: >>>>>>> IMU initialized <<<<<<<
lio_estimator_node: /build/pcl-gWGA5r/pcl-1.10.0+dfsg/kdtree/include/pcl/kdtree/impl/kdtree_flann.hpp:138: int pcl::KdTreeFLANN<PointT, Dist>::nearestKSearch(const PointT&, int, std::vector&, std::vector&) const [with PointT = pcl::PointXYZI; Dist = flann::L2_Simple]: Assertion `point_representation_->isValid (point) && "Invalid (NaN, Inf) point coordinates given to nearestKSearch!"' failed.
[lio_estimator-3] process has died [pid 380926, exit code -6, cmd /home/ubuntu/workspace/LIO-mapping/devel/lib/lio/lio_estimator_node __name:=lio_estimator __log:=/home/ubuntu/.ros/log/f1850a8e-0055-11ee-b249-774dad07eac7/lio_estimator-3.log].
log file: /home/ubuntu/.ros/log/f1850a8e-0055-11ee-b249-774dad07eac7/lio_estimator-3*.log

I would appreciate it if someone can help me to solve this error.

@Howtian
Copy link
Author

Howtian commented Jun 1, 2023

It worked !!! after setting "cutoff_deskew" to 1.
The error seems related to using imu information for initialization. But I still don't understand the root cause of the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant