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

Pcd recorder improvements #673

Merged

Conversation

j-oberlaender
Copy link
Contributor

The recorder now has command-line support for device IDs just like openni_viewer.
This is a new pull request based on #672 without the changes to memory size calculation.

" -shift = use OpenNI shift values rather than 12-bit depth\n"
" -buf X = use a buffer size of X frames (default: ");
print_value ("%d", buff_size); print_info (")\n");
printHelp(buff_size, argc, argv);
Copy link
Member

Choose a reason for hiding this comment

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

Sorry for being picky, but could you adopt this to the pcl style guide (http://pointclouds.org/documentation/advanced/pcl_style_guide.php), i.e., add a space in front of the bracket? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, sorry about that. That whole block was actually redundant and should have been removed (there is another help switch check in the block below, taken from the openni_viewer).
Updated the pull request.

@jspricke
Copy link
Member

There are still a couple of whitespace errors in there, would be great if you could fix them. Thanks for your time!

@j-oberlaender
Copy link
Contributor Author

Here you go. I added the same whitespace fixes to openni_viewer as well.

@jspricke
Copy link
Member

Thanks for responding so fast. Regarding the last commit, I prefer to not fix the style of code in the repo, as it would change the author of the line. Could you squash your other commits a little, so we don't pull in unnecessary changes? Have a look at git rebase -i.

@j-oberlaender
Copy link
Contributor Author

Finally found the time to do it. How's this?

@j-oberlaender
Copy link
Contributor Author

The Travis CI build for gcc got to 99%, then ran out of time. The clang build succeeded.

jspricke added a commit that referenced this pull request May 16, 2014
@jspricke jspricke merged commit adb463a into PointCloudLibrary:master May 16, 2014
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.

2 participants