Skip to content
New issue

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

D430 Alternating emitter (on/off) mode control #3066

Merged
merged 8 commits into from
Jan 20, 2019

Conversation

ev-mp
Copy link
Collaborator

@ev-mp ev-mp commented Jan 15, 2019

A new depth sensor feature introduced for D430, D435 and D435i devices (Global shutter/ Active):

Setting laser into (per-frame) on/off alternating mode.

out

Mode of operation:

  • (a) Turn on laser emitter (RS2_OPTION_EMITTER_ENABLED)
  • (b) Toggle on the alternating emitter (RS2_OPTION_EMITTER_ON_OFF)

Limitations:

  • Turning laser emitter off whilst alternating mode is active is not allowed
  • Turning alternating mode on whilst laser emitter is off is not allowed

Per-frame illumination on/off can be established for depth and ir sensors via reading frame's metadata attribute:

...
auto fs = pipe.wait_for_frames();
auto df = fs.get_depth_frame();
if (df.supports_frame_metadata(RS2_FRAME_METADATA_FRAME_LASER_POWER_MODE))
auto emitter_on = df.get_frame_metadata(RS2_FRAME_METADATA_FRAME_LASER_POWER_MODE);

Requires FW version 5.12.0+

Fixes:
[Realsense-viewer] :

  • Refresh all XU/PU controls on stream start/stop events.
  • Enforce update of read-only options on stop to ensure that volatile controls (emitter_on_off) are updated in a timely manner
    [Windows]: - Fix backend timestamp generation for HID device

Tracked on: DSO-11825. in #482, #1299. This implementation is a further evolvement of PR2829

Change-Id: Ia34da1ff946dbd83c8433ce8c70e58155be734d0
Change-Id: I80d197426e71078d4ab6b08944e04c8d8b5b4bfd
…profyling OS latencies

Change-Id: Icef21fc94b0db29a3bdf3de010e55dd74f18fcf1
Change-Id: I716c1f651743f69174e551676c5c50272581c2ab
Change-Id: I548ca02935a81e9bc5a4a3415129faa8c63ccecc
Signed-off-by: Evgeni Raikhel <[email protected]>
Adjust HWMON API calls
Fix DQT compilation

Change-Id: I74fa83f9e35aa3dfea85488fabd0f832831d7601
Signed-off-by: Evgeni Raikhel <[email protected]>
Remove FW sleep limitation in emiter_on_off test except for the initialization

Change-Id: I891c767c434d6e7d810505cd28a4d66ba0f88256
Signed-off-by: Evgeni Raikhel <[email protected]>
Fix EOL discrepancy
Enhance unit-test

Change-Id: If12bda3219a62fc1ef45080ceec021ef2f3621a3
@ev-mp ev-mp merged commit 73b4471 into IntelRealSense:development Jan 20, 2019
@drhalftone
Copy link

How do you get firmware 5.12.0?

@mhkabir
Copy link

mhkabir commented Feb 7, 2019

@dorodnic @ev-mp Any updates on when the new firmware will be released?

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.

4 participants