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

Added visual presets for L500 #5741

Merged
merged 10 commits into from
Feb 6, 2020
Merged

Conversation

aangerma
Copy link
Contributor

@aangerma aangerma commented Jan 29, 2020

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

@aangerma aangerma requested review from ev-mp, dorodnic and maloel January 29, 2020 15:08
@aangerma aangerma force-pushed the l500_controls branch 2 times, most recently from 50bc552 to bc277fe Compare January 30, 2020 09:48
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.

Add JIRA reference to PR Description
Python/C# for .def changes

common/model-views.cpp Show resolved Hide resolved
src/l500/l500-depth.cpp Outdated Show resolved Hide resolved
src/l500/l500-private.cpp Outdated Show resolved Hide resolved
src/l500/l500-private.h Outdated Show resolved Hide resolved
src/option.h Outdated Show resolved Hide resolved
src/types.cpp Show resolved Hide resolved
unit-tests/unit-tests-live.cpp Show resolved Hide resolved
src/l500/l500-device.h Outdated Show resolved Hide resolved
@@ -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
Copy link
Collaborator

Choose a reason for hiding this comment

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

Needs Python/C# version

src/serializable.h Outdated Show resolved Hide resolved
src/serializable.h Outdated Show resolved Hide resolved
src/l500/l500-serializable.h Outdated Show resolved Hide resolved
src/option.h Show resolved Hide resolved
src/option.h Show resolved Hide resolved
src/option.h Outdated Show resolved Hide resolved
src/option.h Outdated Show resolved Hide resolved
common/model-views.cpp Outdated Show resolved Hide resolved
common/model-views.cpp Outdated Show resolved Hide resolved
src/serializable-interface.h Outdated Show resolved Hide resolved
src/types.cpp Outdated Show resolved Hide resolved
src/l500/l500-depth.cpp Outdated Show resolved Hide resolved
src/rs.cpp Outdated Show resolved Hide resolved
src/rs.cpp Outdated Show resolved Hide resolved
src/l500/l500-options.cpp Outdated Show resolved Hide resolved
common/model-views.cpp Outdated Show resolved Hide resolved
src/l500/l500-depth.cpp Outdated Show resolved Hide resolved
src/l500/l500-factory.cpp Outdated Show resolved Hide resolved
# Conflicts:
#	common/on-chip-calib.cpp
#	include/librealsense2/h/rs_option.h
#	src/l500/l500-private.h
#	src/types.cpp
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");
Copy link
Collaborator

Choose a reason for hiding this comment

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

controls

@ev-mp ev-mp merged commit 4e4af79 into IntelRealSense:development Feb 6, 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

Successfully merging this pull request may close these issues.

3 participants