-
Notifications
You must be signed in to change notification settings - Fork 683
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
feat(rtc_interface, lane_change): check state transition for cooperate status #8855
feat(rtc_interface, lane_change): check state transition for cooperate status #8855
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
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.
Good 👍 LGTM.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8855 +/- ##
==========================================
- Coverage 27.82% 27.82% -0.01%
==========================================
Files 1325 1329 +4
Lines 98809 98848 +39
Branches 39668 39675 +7
==========================================
+ Hits 27495 27502 +7
- Misses 71235 71314 +79
+ Partials 79 32 -47
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@satoshi-ota |
Signed-off-by: Go Sakayori <gsakayori@gmail.com>
Signed-off-by: Go Sakayori <gsakayori@gmail.com>
Signed-off-by: Go Sakayori <gsakayori@gmail.com>
Signed-off-by: Go Sakayori <gsakayori@gmail.com>
b51e2e9
to
58e1ae2
Compare
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!
Description
A new filed
tier4_rtc_msgs/State state
was introduced in the rt cooperate status previously. This field is used to observe the state transition of the rtc message. However, inappropriate state transition could be occurred since there was no limitation in the rtc interface module.In this PR, I have checked the state transition inside the
updateCooperateStatus
function.Additionally, the RTC state transition is fixed in the lane change module.
The cooperateState status would transit to failure when the module can only transit to FAILURE.
Being specific, it should not transit to FAILED inside
planWaitingApproval
function, although the lane change module status could be keptWAITING_APPROVAL
due tocanTransitFailureState
function.Related links
tier4/tier4_autoware_msgs#119
#8604
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.