Skip to content
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

Fixes incorrect distance calculation in getMaxDistance #1453

Merged
merged 1 commit into from
Nov 29, 2015

Conversation

SergioRAgostinho
Copy link
Member

Fixes #1449. getMaxDistance was using the norm of a Eigen::Vector4f to compute the 3D distance between points. The norm was using the 4th element of xyz/data[4] which is often just bit trash. When an
index vector is provided, the function was returning the wrong point. Added tests for both

Fixes PointCloudLibrary#1449. getMaxDistance was using the norm of a Eigen::Vector4f
to compute the 3D distance between points. The norm was using the
4th element of xyz/data[4] which is often just bit trash. When an
index vector is provided, the function was returning the wrong
point. Added tests for both
jspricke added a commit that referenced this pull request Nov 29, 2015
Fixes incorrect distance calculation in getMaxDistance
@jspricke jspricke merged commit 5ecde4d into PointCloudLibrary:master Nov 29, 2015
@taketwo
Copy link
Member

taketwo commented Nov 29, 2015

Great work 👍

@SergioRAgostinho SergioRAgostinho deleted the get_max_dist branch December 1, 2015 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants