-
Notifications
You must be signed in to change notification settings - Fork 65
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
test(path_generator): add tests for path cut feature #268
test(path_generator): add tests for path cut feature #268
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
c38de09
to
5901168
Compare
@mitukou1109 cc @soblin |
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.
Generally, it’s better to separate tests and refactoring into different PRs. Atomic PR is king.
planning/autoware_path_generator/include/autoware/path_generator/utils.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
df9dbd4
to
c3535f2
Compare
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
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.
Only test additions. LGTM
#336 was merged, I updated this branch but some CI failed. |
There is an issue with |
#365 is merged and thanks for updating branch, I'm waiting for ci result |
|
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
Head branch was pushed to by a user without write access
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #268 +/- ##
===========================================
- Coverage 78.75% 29.19% -49.57%
===========================================
Files 11 177 +166
Lines 193 11288 +11095
Branches 73 3818 +3745
===========================================
+ Hits 152 3295 +3143
- Misses 11 7540 +7529
- Partials 30 453 +423
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
Description
This PR adds tests for the path cut feature of
path_generator
.The tests will not pass until #336 is merged.
How was this PR tested?
gives the following result (excerpt):
The test cases are confirmed valid by the following visualization results:
get_first_intersection_arc_length
@ u-turn with full crossingget_first_intersection_arc_length
@ u-turn with half crossingget_first_intersection_arc_length
@ overpassget_first_intersection_arc_length
@ overpass, start edge intersectionget_arc_length_on_bounds
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.