No Temperature enabled for D457 (Python)
Im using a D457 camera but it looks like there is no support for any of the temperature readings when using pyrealsense2.
HW Firmware: 5.15.0.2
pyrealsense2 (2.54.1.5217)
...
sensor = profile.get_device().first_depth_sensor()
sensor.supports(rs.option.asic_temperature)
sensor.supports(rs.option.projector_temperature)
All return False
Also getting an error when pulling all options:
sensor.get_option(rs.option.asic_temperature)
sensor.get_option(rs.option.projector_temperature)
...
RuntimeError: object doesn't support option #XX
I would appreciate some guidance. Thanks!
-
What I find most strange is that the sensor does support some of the temperature options (such as <option.asic_temperature: 23> and <option.projector_temperature: 25>:
sensor.get_supported_options()
outputs:
[<option.exposure: 3>,
<option.gain: 4>,
<option.enable_auto_exposure: 10>,
<option.visual_preset: 12>,
<option.laser_power: 13>,
<option.emitter_enabled: 18>,
<option.frames_queue_size: 19>,
<option.asic_temperature: 23>,
<option.error_polling_enabled: 24>,
<option.projector_temperature: 25>,
<option.output_trigger_enabled: 26>,
<option.depth_units: 28>,
<option.stereo_baseline: 40>,
<option.inter_cam_sync_mode: 42>,
<option.emitter_on_off: 46>,
<option.global_time_enabled: 53>,
<option.emitter_always_on: 71>,
<option.thermal_compensation: 72>,
<option.hdr_enabled: 76>,
<option.sequence_name: 77>,
<option.sequence_size: 78>,
<option.sequence_id: 79>,
<option.emitter_frequency: 93>,
<option.auto_exposure_mode: 94>] -
I was able to make it work.
Device must be enabled and streaming.
Example: https://github.com/IntelRealSense/librealsense/issues/866
Please sign in to leave a comment.
Comments
3 comments