Skip to content

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

1 participant