GICP does not use Default Convergence Criteria #3329
Labels
help wanted
kind: bug
Type of issue
module: registration
needs: feedback
Specify why not closed/merged yet
The implementation of Generalized ICP does not use the
DefaultConvergenceCriteria::Ptr convergence_criteria_
This causes confusion when trying to check the state of convergence after running the alignment. Checking thehasConverged()
method will returntrue
but checking the state throughgetConvergenceState()
will returnConvergenceState::CONVERGENCE_CRITERIA_NOT_CONVERGED
. Because of the conflicting states, it is difficult understand what the state of the convergence is.A similar issue was brought up for ICP in issue #1598 and addressed by @WraithKim in PR #2892.
Possible Solution
If the using the
DefaultConvergenceCriteria
does not apply to GICP, the implementation should overridegetConvergenceCriteria()
to throw an exception in order to avoid confusion. Otherwise, theconvergence_criteria_
should be updated with the appropriate convergence conditions.The text was updated successfully, but these errors were encountered: