You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pcl::SampleConsensusModelPlane::optimizeModelCoefficients prints Not enough inliers found to support a model (3)! Returning the same coefficients. when trying to optimize a plane model with 3 inliers.
Possible Solution
It makes sense to return if inliers.size() < 3 to avoid extra computation (as I assume the PCA approach will have the same plane coefficients as the initial calculation), but maybe the error could be more clear that a valid model was calculated from the inliers but couldn't be further refined.
The text was updated successfully, but these errors were encountered:
My Environment
Current Behavior
pcl::SampleConsensusModelPlane::optimizeModelCoefficients
printsNot enough inliers found to support a model (3)! Returning the same coefficients.
when trying to optimize a plane model with 3 inliers.Possible Solution
It makes sense to return if
inliers.size() < 3
to avoid extra computation (as I assume the PCA approach will have the same plane coefficients as the initial calculation), but maybe the error could be more clear that a valid model was calculated from the inliers but couldn't be further refined.The text was updated successfully, but these errors were encountered: