Skip to content

Add alignment unit test for IterativeClosestPointWithNormals - #6454

Open
harshareddy1611 wants to merge 1 commit into
PointCloudLibrary:masterfrom
harshareddy1611:add-icp-with-normals-test
Open

Add alignment unit test for IterativeClosestPointWithNormals#6454
harshareddy1611 wants to merge 1 commit into
PointCloudLibrary:masterfrom
harshareddy1611:add-icp-with-normals-test

Conversation

@harshareddy1611

Copy link
Copy Markdown

Previously the only test checked the symmetric-objective getter/setter and never ran an actual alignment. This adds a helper that aligns the bunny clouds using IterativeClosestPointWithNormals and checks convergence and fitness score, for both float and double precision.

Closes #3535.

Previously the only test checked the symmetric-objective getter/setter
and never ran an actual alignment. This adds a helper that aligns the
bunny clouds using IterativeClosestPointWithNormals and checks
convergence and fitness score, for both float and double precision.

Closes PointCloudLibrary#3535.

Signed-off-by: Harsha Reddy <harsha.reddy1611@gmail.com>
Copilot AI review requested due to automatic review settings August 3, 2026 12:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds a real alignment regression test for IterativeClosestPointWithNormals, addressing the gap where the existing test only exercised the symmetric-objective getter/setter without running ICP.

Changes:

  • Adds a reusable helper (runICPWithNormals<Scalar>()) that computes normals for the bunny point clouds and runs ICP-with-normals.
  • Validates alignment success via convergence and a fitness-score threshold for both float and double instantiations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Successfully merging this pull request may close these issues.

Add unit tests for IterativeClosestPointWithNormals

2 participants