Skip to content

D585S test: set depth exposure in service mode, like LibCI - #3571

Merged
Nir-Az merged 1 commit into
realsenseai:ros2-developmentfrom
Nir-Az:Nir-Az/fix/d585s-test-service-exposure
Oct 1, 2026
Merged

Nir-Az merged 1 commit into
realsenseai:ros2-developmentfrom
Nir-Az:Nir-Az/fix/d585s-test-service-exposure

Conversation

@Nir-Az

@Nir-Az Nir-Az commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

test_d585s_safety_mode.py launched the node with depth exposure/AE params in every safety mode, and expected the wrapper to apply them. That relied on an auto service-mode switch that was added in 5c72818 and reverted in ca2d53e. On the D585S, depth controls are only writable in SERVICE mode; in RUN/STANDBY the safety pipeline drives the exposure.

  • Each case launches with only safety_camera.safety_mode (0/1/2, in one session) and checks the mode and that depth data flows.
  • In the SERVICE case the test disables auto exposure, sets the exposure to 3000 at runtime, and verifies both the param and actual_exposure in the metadata. This matches how LibCI's tests_wrapper switches to SERVICE before touching depth controls.

Test-only; no wrapper change. Needs realsenseai/librealsense#15740 (merged) for the D585S to start. Validated in LRS_linux_compile_ros_ci #1616: all 4 D585S tests pass, 18 passed / 0 failed.

🤖 Generated with Claude Code

@sysrsbuild-gh-agentic sysrsbuild-gh-agentic left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Auto-generated review by rs-agentic bot.

The restructuring is clean and the SERVICE-mode-only exposure logic matches the LibCI approach. Two items to check:

@Nir-Az
Nir-Az requested a review from ashrafk93 September 30, 2026 13:50
@Nir-Az
Nir-Az merged commit 9215f26 into realsenseai:ros2-development Oct 1, 2026
7 of 10 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