Skip to content

Conversation

@AviaAv
Copy link
Contributor

@AviaAv AviaAv commented Nov 9, 2023

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
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
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

Copy link
Collaborator

@Nir-Az Nir-Az left a comment

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