-
-
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
[apps] Enable Clang-Format for in_hand_scanner #4804
[apps] Enable Clang-Format for in_hand_scanner #4804
Conversation
apps/in_hand_scanner/include/pcl/apps/in_hand_scanner/common_types.h
Outdated
Show resolved
Hide resolved
I manually ran the documentation CI to see if there are any new doxygen warnings/errors, but it appears that apps are excluded from doxygen. I wonder if that makes sense, because the apps headers are installed and available e.g. via the apt package |
I don't see even any reason to deliver the headers for the apps. Maybe it would be even better to split the PCL package into 3 parts: libpcl (only header), libpcl-dev (libpcl + header), pcl-apps (libpcl + apps). But I think this is not topic of this PR here ;-) |
For the parts that are included in the apps library, apparently mainly dominant_plane_segmentation and render_views_tesselated_sphere, it makes sense to deliver the headers and run doxygen. For the point_cloud_editor (and the other apps that are not in apps library) I too currently don't see a reason why the headers should be available. But it could still be good to run doxygen once after these formatting changes to see if the doxygen comments are still valid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but we should discuss sometime whether it is correct that the point_cloud_editor headers are installed
42ca63e
to
8e623d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
11/27 only
apps/in_hand_scanner/include/pcl/apps/in_hand_scanner/integration.h
Outdated
Show resolved
Hide resolved
apps/in_hand_scanner/include/pcl/apps/in_hand_scanner/integration.h
Outdated
Show resolved
Hide resolved
apps/in_hand_scanner/include/pcl/apps/in_hand_scanner/integration.h
Outdated
Show resolved
Hide resolved
apps/in_hand_scanner/include/pcl/apps/in_hand_scanner/integration.h
Outdated
Show resolved
Hide resolved
apps/in_hand_scanner/include/pcl/apps/in_hand_scanner/integration.h
Outdated
Show resolved
Hide resolved
@larshg Since the comments are always related to doxygen: I suggest to apply these changes separately, e.g. if someone has time to create a python script to format them automatically (so it can be also checked on the CI). |
I guess it was intended for @kunaltyagi, @SunBlack ? |
Ah well yes, sry^^ |
Could you try @kunaltyagi 's doxygen_fixer script from pull request #5085 on your changes here? |
8e623d8
to
2d4864e
Compare
Tried it, but it misses some issues and also add some issue. So I did it now manually by searching for PR can be squashed when merging. |
@kunaltyagi Would you review this one again? |
|
||
xyz_mask(r, c) = hsv_mask(r, c) = false; | ||
|
||
if (!std::isnan(xyzrgb.x) && !std::isnan(normal.normal_x) && xyzrgb.x >= x_min && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self: check for isnan on x and normal_x looks funky
No description provided.