Items with no label
3338 Diskussionen

RS_OPTION_F200_LASER_POWER

TNgam
Einsteiger
2.033Aufrufe

Dear all,

i have used Pyrealsense onlinux ubuntu 16.04 with intel Realsense ZR300. My problem is that there are some unwanted patterns on the IR projector as figure below. After that i try to decrease a value of the laser power with this code:

[ custom_options = [(rs_option.RS_OPTION_R200_LR_EXPOSURE, 227.0), (rs_option.RS_OPTION_R200_LR_GAIN, 3249.0),

(rs_option.RS_OPTION_R200_EMITTER_ENABLED, 1), (rs_option.RS_OPTION_F200_LASER_POWER, 13)]

dev.set_device_options(*zip(*custom_options)) ]

The result is : error

INFO:pyrealsense.core:There are 1 connected RealSense devices.

INFO:pyrealsense.core:Using device 0, an Intel RealSense ZR300

INFO:pyrealsense.core: Serial number: 3511804317

INFO:pyrealsense.core: Firmware version: 2.0.71.28

ERROR:pyrealsense.utils:rs_error was raised when calling rs_set_device_options(device:0x2787650, options:0x7f458edc79a0, count:4,

values:0x2645a00)

ERROR:pyrealsense.utils: Option unsupported

If you have any idea, please suggest me

Thank.

0 Kudos
1 Lösung
MartyG
Geehrter Beitragender III
996Aufrufe

In the legacy Librealsense, the rs_option commands with a model number in their name tend to only be usable with that model or one with similar tech. For example, commands with 'r200' in their name also work with ZR300 because they are both Stereo type camera hardware. An instruction with F200 / SR300 in its rs_option name will not work with R200 and ZR300 though because the F200 and SR300 are a different camera tech called structured light, or coded light.

For ZR300 you would just toggle r200_emitter_enabled and leave out f200_laser_power

https://github.com/IntelRealSense/librealsense/issues/482# issuecomment-297415889 Turn on/off the infrared pattern · Issue # 482 · IntelRealSense/librealsense · GitHub

Lösung in ursprünglichem Beitrag anzeigen

3 Antworten
MartyG
Geehrter Beitragender III
997Aufrufe

In the legacy Librealsense, the rs_option commands with a model number in their name tend to only be usable with that model or one with similar tech. For example, commands with 'r200' in their name also work with ZR300 because they are both Stereo type camera hardware. An instruction with F200 / SR300 in its rs_option name will not work with R200 and ZR300 though because the F200 and SR300 are a different camera tech called structured light, or coded light.

For ZR300 you would just toggle r200_emitter_enabled and leave out f200_laser_power

https://github.com/IntelRealSense/librealsense/issues/482# issuecomment-297415889 Turn on/off the infrared pattern · Issue # 482 · IntelRealSense/librealsense · GitHub

TNgam
Einsteiger
996Aufrufe

Thank you for your response,

Is there a command to decrease in the laser_power for ZR300 ? or this is fixed with the default for ZR300

MartyG
Geehrter Beitragender III
996Aufrufe

R200 and ZR300 only have turn on / off toggle in Librealsense 1, whereas F200 and SR300 can vary the laser power.

Antworten