Skip to content
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(behavior_path_planner): change shift point to shift line #2043

Merged

Conversation

purewater0901
Copy link
Contributor

@purewater0901 purewater0901 commented Oct 11, 2022

Signed-off-by: yutaka purewater0901@gmail.com

Description

Currently, ShiftPoint has several points in it, which makes it difficult to understand the meaning of this variable. In this PR, I renamed it to ShiftLine to make the meaning of this variable clearer.

Related links

Tests performed

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

Signed-off-by: yutaka <purewater0901@gmail.com>
@purewater0901
Copy link
Contributor Author

@satoshi-ota @TakaHoribe

@codecov
Copy link

codecov bot commented Oct 11, 2022

Codecov Report

Base: 10.42% // Head: 10.22% // Decreases project coverage by -0.19% ⚠️

Coverage data is based on head (ce6638a) compared to base (88e9324).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2043      +/-   ##
==========================================
- Coverage   10.42%   10.22%   -0.20%     
==========================================
  Files        1169     1169              
  Lines       83528    85262    +1734     
  Branches    19555    20797    +1242     
==========================================
+ Hits         8705     8721      +16     
- Misses      65319    66914    +1595     
- Partials     9504     9627     +123     
Flag Coverage Δ *Carryforward flag
differential 2.85% <0.00%> (?)
total 10.40% <0.00%> (ø) Carriedforward from 88e9324

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
.../include/behavior_path_planner/debug_utilities.hpp 0.00% <ø> (ø)
...lanner/scene_module/avoidance/avoidance_module.hpp 0.00% <0.00%> (ø)
...r/scene_module/avoidance/avoidance_module_data.hpp 0.00% <0.00%> (ø)
...nner/scene_module/lane_change/lane_change_path.hpp 0.00% <ø> (ø)
...nner/scene_module/side_shift/side_shift_module.hpp 0.00% <ø> (ø)
...r_path_planner/scene_module/utils/path_shifter.hpp 0.00% <0.00%> (ø)
...ning/behavior_path_planner/src/debug_utilities.cpp 0.00% <0.00%> (ø)
...nning/behavior_path_planner/src/path_utilities.cpp 0.00% <0.00%> (ø)
...er/src/scene_module/avoidance/avoidance_module.cpp 0.00% <0.00%> (ø)
...ner/src/scene_module/avoidance/avoidance_utils.cpp 3.12% <0.00%> (ø)
... and 19 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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kosuke55
Copy link
Contributor

If not changing behaviors, refactor(behavior_path_planner): may be better.

@purewater0901 purewater0901 changed the title feat(behavior_path_planner): change shift point to shift line refactor(behavior_path_planner): change shift point to shift line Oct 11, 2022
@zulfaqar-azmi-t4
Copy link
Contributor

zulfaqar-azmi-t4 commented Oct 11, 2022

@purewater0901
#2043 (comment)

Initially, I think segment is better, but more people agree with line, so we decided to use ShiftLine

Just curious, why line is more preferred?

@purewater0901
Copy link
Contributor Author

@zulfaqar-azmi-t4 I am not sure. Could you ask @TakaHoribe-san?

@purewater0901
Copy link
Contributor Author

Internal test 820/825

@purewater0901 purewater0901 merged commit 4e080d2 into autowarefoundation:main Oct 11, 2022
@purewater0901 purewater0901 deleted the feat/change-shift-point-name branch October 11, 2022 08:17
scepter914 pushed a commit to scepter914/autoware.universe that referenced this pull request Nov 1, 2022
…towarefoundation#2043)

feat(behavior_path_planner): change shift point to shift line

Signed-off-by: yutaka <purewater0901@gmail.com>

Signed-off-by: yutaka <purewater0901@gmail.com>
Signed-off-by: scepter914 <scepter914@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants