-
Notifications
You must be signed in to change notification settings - Fork 675
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(intersection): code clean #2071
Conversation
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
…elets Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
41bb84b
to
7ab8a28
Compare
Codecov ReportBase: 10.35% // Head: 10.31% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2071 +/- ##
==========================================
- Coverage 10.35% 10.31% -0.04%
==========================================
Files 1175 1175
Lines 84044 84344 +300
Branches 19590 19892 +302
==========================================
Hits 8704 8704
- Misses 65831 66108 +277
- Partials 9509 9532 +23
*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. |
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
4d1eb55
to
5d3f57b
Compare
@kyoichi-sugahara Can you have a look the changes and approve this PR? |
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
* avoid lanelet <-> id as much as possible * return detection_lanelets and conflicting_lanelets in getObjectiveLanelets Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> Signed-off-by: scepter914 <scepter914@gmail.com>
* avoid lanelet <-> id as much as possible * return detection_lanelets and conflicting_lanelets in getObjectiveLanelets Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Description
Since the functionality is getting stable, this module can be refactored.
cc: @veqcc
list of refactored points (improvement of computation time will be done in next PR)
const
vector<lanelet id>
, and usevector<lanelet>
Tests performed
Checked in psim
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.