-
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
feat(lanelet2_extension): add route checker #1149
Conversation
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.
@shmpwk Added some reviews about coding styles.
map/lanelet2_extension/include/lanelet2_extension/utility/route_checker.hpp
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## main #1149 +/- ##
========================================
- Coverage 9.08% 9.06% -0.02%
========================================
Files 1034 1036 +2
Lines 70473 70444 -29
Branches 14692 14682 -10
========================================
- Hits 6402 6389 -13
+ Misses 58574 58572 -2
+ Partials 5497 5483 -14
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
e967c6a
to
ec5cac0
Compare
Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp>
Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp>
Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp>
Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp>
Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp>
6a26293
to
d4bb1ff
Compare
Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@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
Thank you. Then I will check if #1153 works. |
* feat(lanelet2_extension): add route checker Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * chore: move pkg from tier4_autoware_utils to lanelet2_extension Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * fix: test Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * chore: add comment Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * chore: rm unused pkg Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * Update map/lanelet2_extension/test/src/test_route_checker.cpp Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * Update map/lanelet2_extension/test/src/test_route_checker.cpp Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * chore: update code style Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * fix: change interface Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * fix: change style Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
* feat(lanelet2_extension): add route checker Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * chore: move pkg from tier4_autoware_utils to lanelet2_extension Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * fix: test Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * chore: add comment Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * chore: rm unused pkg Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * Update map/lanelet2_extension/test/src/test_route_checker.cpp Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * Update map/lanelet2_extension/test/src/test_route_checker.cpp Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * chore: update code style Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * fix: change interface Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * fix: change style Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
* feat(lanelet2_extension): add route checker Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * chore: move pkg from tier4_autoware_utils to lanelet2_extension Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * fix: test Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * chore: add comment Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * chore: rm unused pkg Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * Update map/lanelet2_extension/test/src/test_route_checker.cpp Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * Update map/lanelet2_extension/test/src/test_route_checker.cpp Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * chore: update code style Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * fix: change interface Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * fix: change style Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
* feat(lanelet2_extension): add route checker Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * chore: move pkg from tier4_autoware_utils to lanelet2_extension Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * fix: test Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * chore: add comment Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * chore: rm unused pkg Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * Update map/lanelet2_extension/test/src/test_route_checker.cpp Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * Update map/lanelet2_extension/test/src/test_route_checker.cpp Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> * chore: update code style Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * fix: change interface Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix * fix: change style Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com>
autowarefoundation#1149) manual cherry-pick of autowarefoundation#6368 Signed-off-by: Yuki Takagi <yuki.takagi@tier4.jp>
Description
Check the loading route is valid or not.
If it is invalid, puts warning without dying.
The case valid is when the route is created on the same map as the current one.
Related links
This library will be used in the following PR.
#1153
Tests performed
I tested both valid and invalid route.
Notes for reviewers
You can test this library by executing
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.