Closed MrMixit closed 4 years ago
Hi @MrMixit Thanks for posting question here.
The if condition is used to prevents the case when feature points are too little, when there are not enough feature points, odometer can fail and cause error localization.
Unfortunately, just now I tested this sequence on my computer several times, but I could not get your result.
The error message means that the feature points are not enough, mainly caused by the sensor fault. e.g., points are missing in one of the scan. Did you use the rosbag I provided in the project description? If you use your own rosbag, I doubt that some data is missing when you convert kitti data into rosbag. And I think it does not matter for any versions of PCL.
So if the problem still happens, maybe you can share your rosbag here.
Thank you very much! Han
Hi again and thank you for the response!
Yes, I have tried it with both of your rosbags provided in the description and the same thing happens after a while. I tried installing FLOAM on another Ubuntu computer with the libpcl installed since before through apt-get instead of having built it from source. It worked like a charm! Not sure if this was the difference that made it work or if I have something else installed on my computer that is causing the bug, but I will let you know what it was if I manage to solve it.
Hi @MrMixit
Thanks for reply. I didn't expect the error comes from pcl version but according to your test, it seems that's the reason. I will note down it.
And you are welcomed to leave anything you find about this pcl issue.
Thanks Han
Hi!
Just installed floam after trying out LOAM and went to try it out with the rosbag examples. After around 20 seconds, I get the error message:
I tried changing the source code to skip the if condition that prompted this error message when false, and then got this error, which could explain why tracking was lost:
I also tried installing different versions of PCL (1.8.0, 1.9.1, 1.11.0) to see if this could be the issue, but it did not change the error.
Do you know what could be causing this? I'll attach some screenshots too of the results when running, both with and without mapping. Let me know if I can send any other information that could be of help.