Skip to content

Fix the value of RS2_OPTION_FILTER_MAGNITUDE option in Unity wrapper - #6644

Merged
ev-mp merged 1 commit into
realsenseai:developmentfrom
mengyui:unity-pointcloud-fix
Jun 23, 2020
Merged

Fix the value of RS2_OPTION_FILTER_MAGNITUDE option in Unity wrapper#6644
ev-mp merged 1 commit into
realsenseai:developmentfrom
mengyui:unity-pointcloud-fix

Conversation

@mengyui

@mengyui mengyui commented Jun 19, 2020

Copy link
Copy Markdown
Contributor

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

@mengyui
mengyui force-pushed the unity-pointcloud-fix branch from 6bf5096 to 98565e2 Compare June 20, 2020 08:48

@ev-mp ev-mp left a comment

Copy link
Copy Markdown
Contributor

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 realsenseai: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.

2 participants