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

Fix the value of RS2_OPTION_FILTER_MAGNITUDE option in Unity wrapper #6644

Merged
merged 1 commit into from Jun 23, 2020

Conversation

mengyui
Copy link
Contributor

@mengyui mengyui commented Jun 19, 2020

The value of RS2_OPTION_FILTER_MAGNITUDE defined in Unity wrapper are wrong.
In the wrapper, there are 3 values in PointCloud processing block.
https://github.com/IntelRealSense/librealsense/blob/v2.35.2/wrappers/unity/Assets/RealSenseSDK2.0/Scripts/ProcessingBlocks/RsPointCloud.cs#L6-L11
But in the core library, there are 2 value for it.
https://github.com/IntelRealSense/librealsense/blob/v2.35.2/src/proc/pointcloud.cpp#L239-L241

Fix #6579 #6647

Copy link
Collaborator

@ev-mp ev-mp left a comment

Choose a reason for hiding this comment

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

@mengyui , thank you for the patch!

@ev-mp ev-mp merged commit 7517918 into IntelRealSense:development Jun 23, 2020
@mengyui mengyui deleted the unity-pointcloud-fix branch July 9, 2020 00:57
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.

None yet

2 participants