librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Cannot set rs.option.depth_units

Open xkunwu opened this issue 8 years ago • 2 comments


Required Info
Camera Model SR300
Firmware Version 3.21.0.0
Operating System & Version Ubuntu 18.04
Kernel Version (Linux Only) 4.15.0-39
Platform PC
SDK Version 2
Language python
Segment others

Issue Description

This is a following up to Issue#1905, in which changing depth scale was discussed.

The code: depth_sensor = profile.get_device().first_depth_sensor() depth_sensor.set_option(rs.option.depth_units, 0.001) Error: RuntimeError: This option is read-only!

xkunwu avatar Nov 28 '18 20:11 xkunwu

Hi @xkunwu Changing depth units is not possible with the SR300, only with the D400 series of cameras.

dorodnic avatar Nov 29 '18 05:11 dorodnic

Hi @dorodnic Thanks! Good to know ... I am closing this issue.

xkunwu avatar Nov 29 '18 09:11 xkunwu