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

[Bug] All float parameters are set to their maximum value. #129

Open
HlRO opened this issue Dec 27, 2023 · 0 comments
Open

[Bug] All float parameters are set to their maximum value. #129

HlRO opened this issue Dec 27, 2023 · 0 comments

Comments

@HlRO
Copy link

HlRO commented Dec 27, 2023

When creating parameters from the features read from the camera, all float values are set to their maximum instead of the current values.

The maximum_value and minimum_value in this line should be swapped.

initial_value = std::max(maximum_value, std::min(initial_value, minimum_value));

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

1 participant