-
Notifications
You must be signed in to change notification settings - Fork 664
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(mission_planner, route_handler): enable loop detection of route #1705
fix(mission_planner, route_handler): enable loop detection of route #1705
Conversation
@mitsudome-r -san is added because I think he did it first. |
Codecov Report
@@ Coverage Diff @@
## main #1705 +/- ##
==========================================
- Coverage 10.42% 10.16% -0.27%
==========================================
Files 1220 1148 -72
Lines 87342 77162 -10180
Branches 20490 19187 -1303
==========================================
- Hits 9109 7844 -1265
+ Misses 68757 60204 -8553
+ Partials 9476 9114 -362
*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. |
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>
a7ca38a
to
ae1037a
Compare
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
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!
@tkimura4 |
…cted Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
@taikitanaka3 |
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.
…ier4#1705) * fix(mission_planner, route_handler): enable loop detection of route Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix undefined reference Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * do not publish looped-route Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * simplify the code Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * insert -> emplace Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…ier4#1705) * fix(mission_planner, route_handler): enable loop detection of route Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix undefined reference Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * do not publish looped-route Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * simplify the code Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * insert -> emplace Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…ier4#1705) * fix(mission_planner, route_handler): enable loop detection of route Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix undefined reference Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * do not publish looped-route Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * simplify the code Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * insert -> emplace Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…ier4#1705) * fix(mission_planner, route_handler): enable loop detection of route Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix undefined reference Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * do not publish looped-route Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * simplify the code Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * insert -> emplace Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…2/v0.29.0/overwrite_invalid_detection_result feat(autoware_crosswalk_traffic_light_estimator): overwrite invalid detection result
Signed-off-by: tomoya.kimura tomoya.kimura@tier4.jp
Description
In the current implementation, isRouteLooped() always returns false because one
primitives
has only oneid
.Duplicate check of lane_id must be done for the entire
segments
. I fixed it.Related links
Tests performed
I confirmed that the following error occurs and route was not published when I tried to set route with overlapping lanes using check points.
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.