-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Add removeAllCoordinateSystems and templated addPointCloudPrincipalCurvatures #965
Conversation
Thanks for the contribution. Now that the function is templated, shouldn't the old implementation in Also, please remove the first two commits from this pull request. |
I have updated the code. I have removed the old implementation from |
Could you please really delete it (rather than comment)? Also please do not change formatting of lines that are out of scope of your pull request ( |
I have reverted the changes to the formatting of |
What about this one? Let's delete it, I think there is no point in keeping dead code around. |
My bad, I couldn't find these changes in the diff. I have removed those commented lines. |
Thank you. Last thing: could you please squash the last two fixup commits into the first one? |
I am a little confused. Should I just squash the last two commits into a single "fixup" commit? Or should I squash them into the first commit "Adde removeAllCoordinateSystems"? I thought you can only squash consecutive commits. I am new to git so maybe I am wrong. |
Not necessarily. When you are exposed with the interactive rebase "interface" (that is, an editor with lines presenting individual commits), you can swap the order of commits by moving their respective lines up or down.
The latter. The intention is not to have a series of commits where one adds some lines, and the next one removes them. This pollutes the history with unnecessary commits and also makes usage of tools like |
Alright, I think I did it. I did not realize you could rearrange lines in the rebase interface. Thanks for the tip! |
Great! Thanks for contributing. |
Add removeAllCoordinateSystems and templated addPointCloudPrincipalCurvatures
removeAllCoordinateSystems
removes all coordinate systems from the visualizer.addPointCloudPrincipalCurvatures
only acceptspcl::PointXYZ
andpcl::Normal
. It is now templated on thePointT
andPointNT
.