Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

the running errors of your example! #394

Open
nonlinear1 opened this issue May 14, 2021 · 0 comments
Open

the running errors of your example! #394

nonlinear1 opened this issue May 14, 2021 · 0 comments

Comments

@nonlinear1
Copy link

ubuntu16.04
pcl 1.7.2
Cython 0.21.2
I run your example

import numpy as np
p = pcl.PointCloud(np.array([[1, 2, 3], [3, 4, 5]], dtype=np.float32))
seg = p.make_segmenter()
seg.set_model_type(pcl.SACMODEL_PLANE)
seg.set_method_type(pcl.SAC_RANSAC)
indices, model = seg.segment()

in github and give me the follwoing errors:
[pcl::SampleConsensusModel::getSamples] Can not select 0 unique points out of 2!
[pcl::RandomSampleConsensus::computeModel] No samples could be selected!
[pcl::SACSegmentation::segment] Error segmenting the model! No solution found.

Screenshot from 2021-05-15 01-39-18
Someone know how to solve this problem? Thanks a lot

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

No branches or pull requests

1 participant