Skip to content

ppf: remove redundant codes #6230

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

YeHuanjie
Copy link
Contributor

remove unnecessary (-1) and modify alpha calculation according to 《A Method for 6D Pose Estimation of Free-Form Rigid Objects Using Point Pair Features on Range Data》

angle *= (-1);
p.alpha_m = -angle;
float angle = std::atan2 (model_point_transformed(2), model_point_transformed(1));
p.alpha_m = angle;
Copy link
Member

Choose a reason for hiding this comment

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

Did you forget a minus sign here?

And I am still not sure about +pi becoming -pi. Even if they represent the same angle, couldn't this cause a problem in the discretization in PPFRegistration?

@mvieth mvieth added the needs: author reply Specify why not closed/merged yet label Apr 7, 2025
@mvieth
Copy link
Member

mvieth commented Apr 11, 2025

@YeHuanjie Hi, I just wanted to ask whether you are still working on this pull request? If not, that would be totally fine, but then I would close this pull request and the related issue soon (because it is not a bug or error in the code).

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.

2 participants