-
Notifications
You must be signed in to change notification settings - Fork 682
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
refactor(start_planner): remove redundant calculation in shift pull out #8623
refactor(start_planner): remove redundant calculation in shift pull out #8623
Conversation
Signed-off-by: Go Sakayori <gsakayori@gmail.com>
Signed-off-by: Go Sakayori <go.sakayori@tier4.jp>
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.
LGTM!
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8623 +/- ##
==========================================
- Coverage 24.10% 24.09% -0.02%
==========================================
Files 1399 1403 +4
Lines 102455 102502 +47
Branches 38921 38920 -1
==========================================
Hits 24695 24695
- Misses 75235 75282 +47
Partials 2525 2525
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…ut (autowarefoundation#8623) * fix redundant calculation Signed-off-by: Go Sakayori <gsakayori@gmail.com> * fix unneccesary modification for comment Signed-off-by: Go Sakayori <go.sakayori@tier4.jp> --------- Signed-off-by: Go Sakayori <gsakayori@gmail.com> Signed-off-by: Go Sakayori <go.sakayori@tier4.jp>
…ut (autowarefoundation#8623) * fix redundant calculation Signed-off-by: Go Sakayori <gsakayori@gmail.com> * fix unneccesary modification for comment Signed-off-by: Go Sakayori <go.sakayori@tier4.jp> --------- Signed-off-by: Go Sakayori <gsakayori@gmail.com> Signed-off-by: Go Sakayori <go.sakayori@tier4.jp>
Description
There was some redundant calculation in the
ShiftPullOut::calcPullOutPaths
. This PR removes the redundant calculation outside the for loop and decreases the calculation time. Below is an example of the processing time.Before:
After:
Related links
None
How was this PR tested?
TIER IV internal simulator
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.