Skip to content

Conversation

MaximSmolskiy
Copy link
Contributor

Gaussian fitting parameters are recalculated each time in https://github.com/PointCloudLibrary/pcl/blob/master/registration/include/pcl/registration/impl/ndt.hpp#L79-L86 because they can change via setOulierRatio and setResolution methods.
Therefore, there is no point in calculating them in constructor

@larshg larshg added this to the pcl-1.16.0 milestone Aug 31, 2025
Copy link
Member

@mvieth mvieth left a comment

Choose a reason for hiding this comment

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

Seems reasonable, thanks!
macOS CI failing is unrelated.

@mvieth mvieth merged commit 6b0fc48 into PointCloudLibrary:master Sep 2, 2025
10 of 13 checks passed
@MaximSmolskiy MaximSmolskiy deleted the remove_unnecessary_calculations_from_ndt_constructor branch September 2, 2025 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants