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

[pcl::SampleConsensusModel::getSamples] Error #32

Open
AlexGhenno opened this issue Sep 30, 2019 · 3 comments
Open

[pcl::SampleConsensusModel::getSamples] Error #32

AlexGhenno opened this issue Sep 30, 2019 · 3 comments

Comments

@AlexGhenno
Copy link

Hi,

I'm trying to calibrate a thermal camera with a Velodyne VPL 16. While running the coarse calibration I'm getting the following error:

[pcl::SampleConsensusModel::getSamples] Can not select 0 unique points out of 0!
[pcl::RandomSampleConsensus::computeModel] No samples could be selected!

Do you have an idea of what the problem could be? thanks

@martin-velas
Copy link
Contributor

Hi, see other issues - e.g. #27
M.

@AlexGhenno
Copy link
Author

Hi,
thanks for your reply. I could solve some issues similar to those in #27. The visible pointcloud is the following

visible_cloud

but the same error appears later. This is the visible point cloud after the threshold filtering

threshold

Do you think there aren't enough points at the border of the circles so that they can be detected?

@AlexGhenno
Copy link
Author

I could solve the problem, the borders of the marker were not completely removed, plus my input pointcloud had two additional straight line patterns which caused the error. Now the pointcloud looks like this

12

and the circle detection like this

13

Now I get results from the fine calibration but they do not seem correct. This is a coloured pointcloud I get when using the camera image below

coloured_pointcloud

thermo_marker

What I don't understand is why the last tree elements in the resulting 6DoF vector are almost zero.
Do you have any suggestion to improve this result?

Thanks

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

2 participants