-
Notifications
You must be signed in to change notification settings - Fork 663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(mrm_handler): fix bug in operation mode availability timeout #6513
Conversation
Signed-off-by: veqcc <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6513 +/- ##
==========================================
- Coverage 14.78% 14.78% -0.01%
==========================================
Files 1917 1917
Lines 132253 132261 +8
Branches 39297 39297
==========================================
Hits 19550 19550
- Misses 90876 90884 +8
Partials 21827 21827
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
How is the MRM behavior determined when a timeout is established? Please check the timeout behavior with Psim. |
Signed-off-by: veqcc <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* fix operation mode availability timeout Signed-off-by: veqcc <[email protected]> Signed-off-by: Kotaro Yoshimoto <[email protected]>
…owarefoundation#6513) * fix operation mode availability timeout Signed-off-by: veqcc <[email protected]> Signed-off-by: kaigohirao <[email protected]>
…owarefoundation#6513) * fix operation mode availability timeout Signed-off-by: veqcc <[email protected]>
…owarefoundation#6513) * fix operation mode availability timeout Signed-off-by: veqcc <[email protected]>
Description
Fixed how to handle
operation_mode_availability
timeout in mrm_handler.Previously, when
operation_mode_availability
timeout is detected,onTimer
callback just changes themrm_state
and publish some commands. However, this is not enough for an MRM operation since no MRM behavior is requested.This Pull Request solved the problem.
This is almost the same change as #6399 .
Tests performed
Comfirmed MRM changes from (NORMAL, NONE) to (OPERATING, EMERGENCY_STOP) when
operation_mode_availability
timed outs.Effects on system behavior
Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.