We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
Example on how to get laser power, set laser power and get range of available laser power values. @AbdelRahmanNasser20, please add
functions to the Driver Level Code. see example below. I think the example below works for any frames as long as depth or infrared stream is enabled.
dev = profile.get_device() depth_sensor = dev.query_sensors()[0] laser_pwr = depth_sensor.get_option(rs.option.laser_power) print(f'laser power {laser_pwr}') depth_sensor.set_option(rs.option.laser_power, 2) laser_pwr = depth_sensor.get_option(rs.option.laser_power) print("laser power = ", laser_pwr) laser_range = depth_sensor.get_option_range(rs.option.laser_power) print("laser power range = " , laser_range.min , "~", laser_range.max)
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: