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

R200: cpp-config-ui crash when set R200_DEPTH_CLAMP_MIN and R200_DEPTH_CLAMP_MAX #150

Closed
wangji1 opened this issue May 23, 2016 · 2 comments

Comments

@wangji1
Copy link

wangji1 commented May 23, 2016

Required Info
Camera Model R200
Firmware Version 1.0.72.06
Operating System & Version Ubuntu 14.04.4 LTS
Kernel Version (Linux Only) 4.4.0-040400-generic
Build System Makefile

In cpp-config-ui, before start capture, I could set R200_DEPTH_CLAMP_MIN and R200_DEPTH_CLAMP_MAX values, but when I set the R200_DEPTH_CLAMP_MIN value higher than R200_DEPTH_CLAMP_MAX, or set R200_DEPTH_CLAMP_MAX value lower than R200_DEPTH_CLAMP_MIN, the tool will be crashed.

It makes sense that R200_DEPTH_CLAMP_MAX value never be lower than R200_DEPTH_CLAMP_MIN, and R200_DEPTH_CLAMP_MIN value never be higher than R200_DEPTH_CLAMP_MAX, but no crash should be.

@dorodnic
Copy link
Contributor

config.ui is sample code, not a product. If you have different expectations you can use it as a baseline for you personal projects.
All librealsense demos exit on first encountered error, this is the expected behavior.

@wangji1
Copy link
Author

wangji1 commented May 23, 2016

Thank you for quickly response.

dorodnic added a commit that referenced this issue Jul 11, 2016
ev-mp pushed a commit to ev-mp/librealsense that referenced this issue Mar 16, 2020
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

No branches or pull requests

2 participants