Skip to content

third test on image quality removed. now using max laser power - #12386

Merged
Nir-Az merged 2 commits into
realsenseai:developmentfrom
AviaAv:depth-test
Nov 12, 2023
Merged

third test on image quality removed. now using max laser power#12386
Nir-Az merged 2 commits into
realsenseai:developmentfrom
AviaAv:depth-test

Conversation

@AviaAv

@AviaAv AviaAv commented Nov 9, 2023

Copy link
Copy Markdown
Contributor

Tracked on [LRS-902]

@AviaAv
AviaAv requested a review from Nir-Az November 9, 2023 14:32
pipeline_profile = pipeline.start(config)

sensor = pipeline_profile.get_device().first_depth_sensor()
if sensor.supports(rs.option.laser_power) and laser_enabled:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

  1. Do you think setting it to max will help D400 devices to always pass?
  2. Please consider switching conditions to save performance entering the function when not needed.
if laser_enabled && sensor.supports(rs.option.laser_power) :

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

1 - I don't think so. I tried running max laser power vs default laser power, and sometimes the default had less black pixels than the max (we'd expect it to have more)
2 - will do

@Nir-Az Nir-Az left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@Nir-Az
Nir-Az merged commit f28569b into realsenseai:development Nov 12, 2023
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