Skip to content

Fix ICP viewpoint adaptation issue by aligning sensor coordinates #6280

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

carlsberg03
Copy link

This is a quick fix for issue #6279.

When performing ICP registration, if the input_ point cloud and the reference (i.e., target_) point cloud come from different viewpoints (i.e., different sensor_origin_ and sensor_orientation_), the output point cloud may retain inconsistent coordinate frame information, potentially leading to downstream processing errors.

Since input_ is being registered to the reference cloud, it is reasonable to directly assign the output cloud’s sensor_origin_ and sensor_orientation_ to those of the reference (target) cloud, ensuring consistent frame alignment.

This change updates the align() method to apply this correction, and issues a warning if such a transformation occurs.

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.

1 participant