Skip to content

moving d400 data from ds common to d400 scope - #14616

Merged
Nir-Az merged 2 commits into
realsenseai:developmentfrom
remibettan:moving-d400-data-from-ds-common-to-d400
Jan 19, 2026
Merged

Nir-Az merged 2 commits into
realsenseai:developmentfrom
remibettan:moving-d400-data-from-ds-common-to-d400

Conversation

@remibettan

Copy link
Copy Markdown
Contributor

Small refactor

Copilot AI review requested due to automatic review settings January 19, 2026 10:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the codebase by moving D400-specific GVD (General Vision Data) offset definitions and related firmware details extraction logic from the common DS (depth sensor) scope into the D400-specific scope.

Changes:

  • Relocated d400_gvd_offsets namespace from ds-private.h to d400-private.h
  • Moved get_fw_details() method from ds_device_common class to d400_device class
  • Updated function call in d400-device.cpp to use the new local method instead of the common implementation

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/ds/ds-private.h Removed D400-specific GVD offset constants from common DS header
src/ds/ds-device-common.h Removed get_fw_details() method declaration from common device class
src/ds/ds-device-common.cpp Removed get_fw_details() implementation from common device class
src/ds/d400/d400-private.h Added D400-specific GVD offset constants to D400 private header
src/ds/d400/d400-device.h Added get_fw_details() method declaration to D400 device class
src/ds/d400/d400-device.cpp Added get_fw_details() implementation and updated call site to use local method

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/ds/d400/d400-device.cpp Resolved
@remibettan
remibettan requested a review from Nir-Az January 19, 2026 10:10
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Comment thread src/ds/d400/d400-device.cpp Resolved
Comment thread src/ds/d400/d400-device.cpp Resolved
@Nir-Az
Nir-Az merged commit d0c8b13 into realsenseai:development Jan 19, 2026
27 checks passed
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.

3 participants