Skip to content

Cleared command flags from pyro test -> safe after timeout - #226

Merged
mpark108 merged 2 commits into
mainfrom
bugfix/armed-transition-after-pt
Oct 23, 2026
Merged

mpark108 merged 2 commits into
mainfrom
bugfix/armed-transition-after-pt

Conversation

@MelodyParker

Copy link
Copy Markdown
Contributor

After the timeout from PYRO_TEST (10 seconds), the FSM is configured to automatically switch back to SAFE. In the past, if someone sends a command to go to the ARMED state while it is in the PYRO_TEST state, immediately after switching to SAFE, the FSM will evaluate and execute that command, going straight from PYRO_TEST to ARMED, which was not intended behavior. I've cleared the command flag for moving to ARMED when the timeout resets back to SAFE. I have tested the previous failure condition on the new software, and it has been fixed!

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

FSM SILSIM: 6/6 passed ✓ — plots

@EDED2314 EDED2314 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.

@mpkarpov-ui Let us know if there should be more flags that should be cleared.
For this use case lgtm.

@mpkarpov-ui mpkarpov-ui 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.

looks good, should probably rebase to get ci to pass though

@mpkarpov-ui

Copy link
Copy Markdown
Contributor

@mpkarpov-ui Let us know if there should be more flags that should be cleared. For this use case lgtm.

I think these are the only relevant ones tbh, if you want to be thorough just clear the SAFE flag as well but that code would never be exercised anyway so this is good imo

@mpark108
mpark108 force-pushed the bugfix/armed-transition-after-pt branch from 223bfec to c8157d8 Compare October 23, 2026 16:34
@mpark108
mpark108 merged commit 92c43d1 into main Oct 23, 2026
8 checks passed
@mpark108
mpark108 deleted the bugfix/armed-transition-after-pt branch October 23, 2026 16:37
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