We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See the code
pcl/common/include/pcl/point_types_conversion.h
Lines 373 to 374 in 9467b94
alpha is set to 0. But
pcl/common/include/pcl/impl/point_types.hpp
Lines 346 to 350 in 9467b94
Lines 352 to 358 in 9467b94
Lines 560 to 566 in 9467b94
Lines 627 to 633 in 9467b94
Lines 634 to 642 in 9467b94
Lines 659 to 666 in 9467b94
Lines 667 to 676 in 9467b94
all set alpha to 255.
For consistency, alpha in PointCloudDepthAndRGBtoXYZRGBA should be set to 255 instead of 0.
alpha in PointCloudDepthAndRGBtoXYZRGBA is set to 0.
See the code above.
Set alpha in PointCloudDepthAndRGBtoXYZRGBA to 255.
The text was updated successfully, but these errors were encountered:
Agree, alpha should be 255. Since it is already initialized inside the constructor, line 374 may be removed altogether.
Sorry, something went wrong.
Merge pull request #2533 from csukuangfj/fix-2476
85c17b4
use the default alpha value (fix #2476)
No branches or pull requests
Your Environment
Context
See the code
pcl/common/include/pcl/point_types_conversion.h
Lines 373 to 374 in 9467b94
alpha is set to 0.
But
pcl/common/include/pcl/impl/point_types.hpp
Lines 346 to 350 in 9467b94
pcl/common/include/pcl/impl/point_types.hpp
Lines 352 to 358 in 9467b94
pcl/common/include/pcl/impl/point_types.hpp
Lines 560 to 566 in 9467b94
pcl/common/include/pcl/impl/point_types.hpp
Lines 627 to 633 in 9467b94
pcl/common/include/pcl/impl/point_types.hpp
Lines 634 to 642 in 9467b94
pcl/common/include/pcl/impl/point_types.hpp
Lines 659 to 666 in 9467b94
pcl/common/include/pcl/impl/point_types.hpp
Lines 667 to 676 in 9467b94
all set alpha to 255.
Expected Behavior
For consistency, alpha in PointCloudDepthAndRGBtoXYZRGBA should be set to 255 instead of 0.
Current Behavior
alpha in PointCloudDepthAndRGBtoXYZRGBA is set to 0.
Code to Reproduce
See the code above.
Possible Solution
Set alpha in PointCloudDepthAndRGBtoXYZRGBA to 255.
The text was updated successfully, but these errors were encountered: