Closed go-sakayori closed 2 weeks ago
Thank you for contributing to the Autoware project!
🚧 If your pull request is in progress, switch it to draft mode.
Please ensure:
Attention: Patch coverage is 66.66667%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 27.82%. Comparing base (
eaacae4
) to head (58e1ae2
). Report is 5 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
...nning/autoware_rtc_interface/src/rtc_interface.cpp | 66.66% | 6 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@satoshi-ota Since I've made a minor change eba9d508492349cd760649fb4073c3cc16f535eb after you reviewed, can you check it once more. Thank you in advance.
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 insideplanWaitingApproval
function, although the lane change module status could be keptWAITING_APPROVAL
due tocanTransitFailureState
function.Related links
https://github.com/tier4/tier4_autoware_msgs/pull/119 https://github.com/autowarefoundation/autoware.universe/pull/8604
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.