-
Notifications
You must be signed in to change notification settings - Fork 650
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: sync stored_commands to cooperate status #2223
fix: sync stored_commands to cooperate status #2223
Conversation
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Codecov ReportBase: 11.89% // Head: 11.89% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2223 +/- ##
==========================================
- Coverage 11.89% 11.89% -0.01%
==========================================
Files 1111 1111
Lines 80812 80834 +22
Branches 20737 20750 +13
==========================================
Hits 9614 9614
- Misses 61072 61094 +22
Partials 10126 10126
*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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
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.
The PR worked without any problems in the actual vehicle test.
* fix: sync stored_commands to cooperate status Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix: avoid double lock Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
* fix: sync stored_commands to cooperate status Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix: avoid double lock Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
… (#177) * fix: sync stored_commands to cooperate status Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix: avoid double lock Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
* fix: sync stored_commands to cooperate status Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix: avoid double lock Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
* fix: sync stored_commands to cooperate status Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix: avoid double lock Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
* fix: sync stored_commands to cooperate status Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix: avoid double lock Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
* fix: sync stored_commands to cooperate status Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix: avoid double lock Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
* fix: sync stored_commands to cooperate status Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix: avoid double lock Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>
* fix: sync stored_commands to cooperate status Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix: avoid double lock Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
* fix: sync stored_commands to cooperate status Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix: avoid double lock Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
* fix: sync stored_commands to cooperate status Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix: avoid double lock Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: tomoya.kimura tomoya.kimura@tier4.jp
Description
In rtc_interface,
stored_commands
is updated only whenonCooperateCommandService()
is called andis_locked_
is true.However, the stored_commands are copied to the cooperate command status every time
unlockCommandUpdate()
is called.As a result, the cooperate commands that are cleared once may be re-registered through
stored_commands_
.I fixed this by properly clearing the stored_command.
Note: This bug is caused by performing lane-change in the same direction more than once.
Related links
Tests performed
Using planning simulator, set the lane change module to RTC Approval mode and make sure that a lane change is not performed without approval.
Notes for reviewers
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.