-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Added visual presets for L500 #5741
Conversation
50bc552
to
bc277fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add JIRA reference to PR Description
Python/C# for .def changes
@@ -216,6 +216,8 @@ EXPORTS | |||
rs2_get_amp_factor | |||
rs2_set_amp_factor | |||
rs2_rs400_visual_preset_to_string | |||
rs2_l500_visual_preset_to_string | |||
rs2_sensor_mode_to_string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs Python/C# version
# Conflicts: # include/librealsense2/h/rs_types.h
4f8a534
to
b5d8e69
Compare
# Conflicts: # common/on-chip-calib.cpp # include/librealsense2/h/rs_option.h # src/l500/l500-private.h # src/types.cpp
7f98c85
to
82fa70e
Compare
src/l500/l500-options.cpp
Outdated
if (std::find(advanced_controls.begin(), advanced_controls.end(), opt) != advanced_controls.end()) | ||
move_to_custom (); | ||
else | ||
throw wrong_api_call_sequence_exception(to_string() << "on_set_option support advanced controlls only "<< opt<<" injected"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
controls
Added support for new options in L515:
confidence,
post_processing_sharpness ,
pre_processing_sharpness ,
noise_filtering ,
avalanche_photo_diode
laser_gain,
min_distance ,
invalidation_bypass,
ambient_light
Added visual presets for L500:
RS2_L500_VISUAL_PRESET_NO_AMBIENT,
RS2_L500_VISUAL_PRESET_LOW_AMBIENT,
RS2_L500_VISUAL_PRESET_MAX_RANGE,
RS2_L500_VISUAL_PRESET_SHORT_RANGE
and added support on save and load json for these options.
Tracked on: RS5-6455