Repository navigation
feat(dm): implement DM safety clamping and park fallback (Fixes #95) - #100
Open
SriRamkunamsetty wants to merge 1 commit into
Open
SriRamkunamsetty wants to merge 1 commit into
SriRamkunamsetty wants to merge 1 commit into
Conversation
…abs#95) - Clamping of actuator stroke commands to ±dm_max_stroke - Automatic mirror park (rippra_dm_park) when saturation exceeds dm_park_threshold - Integration across stream path, closed loop accumulator, and public API - Configuration plumbing in system.conf, default.yaml, io.h, and rippra_api.h - Unit test suite test_dm_safety.c registered in CMakeLists.txt - PyTorch dependency isolation in train_sequence.py and test_split_leakage.py - Documentation in algorithms.md and CHANGELOG.md
SriRamkunamsetty
requested review from
archittmittal,
purvanshjoshi and
sr-857
as code owners
September 4, 2026 09:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #95
This PR introduces a hardware safety layer for the Deformable Mirror (DM) command path to protect mirror hardware from out-of-range commands during degraded seeing, scintillation, or centroiding instability: