-
Notifications
You must be signed in to change notification settings - Fork 657
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(blind_spot): move util functions outside of class #9544
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
return half_lanelet; | ||
} | ||
|
||
lanelet::ConstLanelet generateExtendedAdjacentLanelet( |
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.
- same impl is as before
- check planner_param_.adjacent_extend_width is passed as before
|
||
lanelet::ConstLanelet generateHalfLanelet( | ||
const lanelet::ConstLanelet lanelet, const TurnDirection & turn_direction, | ||
const double ignore_width_from_centerline) |
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.
- same impl as before
- check
planner_param_.ignore_width_from_centerline
is passed as before
return new_lanelet; | ||
} | ||
|
||
lanelet::ConstLanelet generateExtendedOppositeAdjacentLanelet( |
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.
- same impl as before
- check if
planner_param_.opposite_adjacent_extend_width
is passed as before
5e3e1d5
to
56ee998
Compare
ff5b13e
to
19644fc
Compare
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
19644fc
to
7cb25f4
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9544 +/- ##
==========================================
- Coverage 29.49% 29.48% -0.02%
==========================================
Files 1444 1452 +8
Lines 108530 108583 +53
Branches 41406 41409 +3
==========================================
Hits 32012 32012
- Misses 73397 73450 +53
Partials 3121 3121
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Description
move the member functions outside of class for adding unti tests
Related links
Parent Issue:
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.