-
Notifications
You must be signed in to change notification settings - Fork 712
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(emergency_handler): fix hazard status timeout #6399
fix(emergency_handler): fix hazard status timeout #6399
Conversation
Signed-off-by: veqcc <ryuta.kambe@tier4.jp>
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
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6399 +/- ##
=======================================
Coverage 14.79% 14.79%
=======================================
Files 1917 1917
Lines 132157 132137 -20
Branches 39272 39258 -14
=======================================
- Hits 19553 19552 -1
+ Misses 90783 90767 -16
+ Partials 21821 21818 -3
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
* fix(emergency_handler): fix hazard status timeout Signed-off-by: veqcc <ryuta.kambe@tier4.jp> Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
…#6399) * fix(emergency_handler): fix hazard status timeout Signed-off-by: veqcc <ryuta.kambe@tier4.jp> Signed-off-by: kaigohirao <kaigo.hirao@proxima-ai-tech.com>
…#6399) * fix(emergency_handler): fix hazard status timeout Signed-off-by: veqcc <ryuta.kambe@tier4.jp>
Description
Fixed how to handle
hazard_status
timeout in emergency_handler.Previously, when
hazard_status
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.
Tests performed
Confirmed Planning Simulation works well
Effects on system behavior
When
hazard_status
topic timeouts, MRM emergency stop will be operated.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.