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

tools: Add option to write normals to mesh_sampling #1795

Merged
merged 2 commits into from
Apr 18, 2017
Merged

tools: Add option to write normals to mesh_sampling #1795

merged 2 commits into from
Apr 18, 2017

Conversation

maflcko
Copy link
Contributor

@maflcko maflcko commented Jan 12, 2017

This should be relatively easy to review, as it should work with any obj/ply file.

Example before:
screenshot from 2017-01-19 02-40-40

Example after:
screenshot from 2017-01-19 02-40-37

@maflcko
Copy link
Contributor Author

maflcko commented Jan 19, 2017

(Added screenshots for reference)

This should be easy to test if a newcomer wants to give it a try...

}
else
{
savePCDFileASCII(argv[pcd_file_indices[0]], *res);
Copy link
Member

@taketwo taketwo Jan 19, 2017

Choose a reason for hiding this comment

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

What is the difference between res and cloud_1? Why when normals are not required you effectively output cloud_1, and when they are required, you output res?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch!

res is the voxelized cloud. I should fix my typo and maybe rename res to something more meaningful.

Copy link
Member

Choose a reason for hiding this comment

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

Since you'll be updating your commit anyway, please insert spaces between function names and braces to match PCL style.

@taketwo
Copy link
Member

taketwo commented Jan 19, 2017

Looks good to me, thanks!

@taketwo taketwo added this to the pcl-1.8.1 milestone Jan 19, 2017
@SergioRAgostinho SergioRAgostinho merged commit f9b5bb6 into PointCloudLibrary:master Apr 18, 2017
@maflcko maflcko deleted the Mf1701-meshSamplingNormals branch June 28, 2017 12:16
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