Skip to content

[segmentation] Deprecate unused max_label in extractLabeledEuclideanClusters #4105

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

Merged

Conversation

kunaltyagi
Copy link
Member

Originated in discussion at #4084

Clang-format commit is separate to ease code review, can be removed completely

@kunaltyagi kunaltyagi added needs: code review Specify why not closed/merged yet module: segmentation changelog: deprecation Meta-information for changelog generation labels May 16, 2020
@kunaltyagi kunaltyagi added this to the pcl-1.12.0 milestone May 16, 2020
@kunaltyagi kunaltyagi force-pushed the deprecate-unused-param branch from 9298e94 to 0ce2234 Compare September 6, 2020 14:50
@kunaltyagi kunaltyagi requested review from larshg and mvieth and removed request for taketwo and SergioRAgostinho November 4, 2020 13:29
@larshg
Copy link
Contributor

larshg commented Nov 4, 2020

Just resolve conflicts and its 🚀

@kunaltyagi kunaltyagi force-pushed the deprecate-unused-param branch from 0ce2234 to 151be85 Compare November 4, 2020 15:33
@kunaltyagi kunaltyagi force-pushed the deprecate-unused-param branch from 151be85 to d8b91d3 Compare November 4, 2020 15:42
@kunaltyagi kunaltyagi force-pushed the deprecate-unused-param branch from d8b91d3 to 871250d Compare November 7, 2020 11:19
Comment on lines +60 to +62
unsigned int min_pts_per_cluster,
unsigned int max_pts_per_cluster,
unsigned int max_label);
Copy link
Member

Choose a reason for hiding this comment

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

Missing defaults for parameters?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is the deprecated version. If someone is using with a parameter, only then it affects them. Adding a default to the deprecated version will create a conflict between the two versions

@kunaltyagi kunaltyagi requested a review from mvieth November 16, 2020 02:59
@kunaltyagi kunaltyagi merged commit 6111908 into PointCloudLibrary:master Nov 26, 2020
@kunaltyagi kunaltyagi deleted the deprecate-unused-param branch November 26, 2020 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: deprecation Meta-information for changelog generation module: segmentation needs: code review Specify why not closed/merged yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants