Skip to content

Fix D555 recovery mode not recognized - #14375

Merged
Nir-Az merged 2 commits into
realsenseai:developmentfrom
AviaAv:DDS-bugs
Oct 27, 2025
Merged

Nir-Az merged 2 commits into
realsenseai:developmentfrom
AviaAv:DDS-bugs

Conversation

@AviaAv

@AviaAv AviaAv commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

Fix for PR #14313, specifically commit 0b8683b, after which DDS devices in recovery mode would throw an error in the viewer and would not show in viewer

Seems like removing the caused it indirectly

@AviaAv
AviaAv requested review from Nir-Az and OhadMeir October 23, 2025 15:56
Comment thread src/ds/advanced_mode/advanced_mode.cpp Outdated
_depth_sensor = base;
}
if( !_depth_sensor )
if( !_depth_sensor && !dynamic_cast<update_device_interface *> (dev) )

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why do we run this code on recovery mode? Is it inherent from a recovery device?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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.

See my message about checking if recovery in rs-dds-device-proxy.
USB recovery devices are not ds_advanced_mode_base (so not trying to initialize), but for DDS we inherit it without knowing in advance if we are a recovery device or not.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Moved to rs-dds-device-proxy

@Nir-Az Nir-Az changed the title check if not in recovery mode Fix D555 recovery mode not recognized Oct 26, 2025
@Nir-Az
Nir-Az merged commit e4ce91e into realsenseai:development Oct 27, 2025
1 check failed
AviaAv pushed a commit to AviaAv/librealsense that referenced this pull request Oct 27, 2025
Nir-Az added a commit that referenced this pull request Oct 27, 2025
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