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

fix(behavior_path_planner): revival of skipped lane_ids by smooth goal connection #1626

Merged

Conversation

takayuki5168
Copy link
Contributor

@takayuki5168 takayuki5168 commented Aug 18, 2022

Description

Smooth goal connection, described as follows, removes lane_ids within a certain-ranged circle whose center is the goal, which makes beahvior_velocity_planner not work.
https://autowarefoundation.github.io/autoware.universe/main/planning/behavior_path_planner/#smooth-goal-connection

Fixed the issue by filling removed lane_ids to pre_goal lane points.

This PR includes

  • small refactoring (I thought this refactoring is related to the fix, but it's actually not, sorry about that).
  • test for the issue

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.

  • There are no open discussions or they are tracked via tickets.

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

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
@takayuki5168 takayuki5168 changed the title Fix/skipped lane ids revival fix(behavior_path_planner): revival of skipped lane_ids by smooth goal connection Aug 18, 2022
@takayuki5168 takayuki5168 marked this pull request as ready for review August 18, 2022 13:55
@takayuki5168
Copy link
Contributor Author

takayuki5168 commented Aug 18, 2022

TODO

  • check if all the lane ids are contained in the path, where some lane ids are in a certain-ranged circle whose center is goal.

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
@codecov
Copy link

codecov bot commented Aug 18, 2022

Codecov Report

Merging #1626 (0e7b5ac) into main (9f451b4) will decrease coverage by 0.11%.
The diff coverage is 36.50%.

@@            Coverage Diff             @@
##             main    #1626      +/-   ##
==========================================
- Coverage   10.77%   10.65%   -0.12%     
==========================================
  Files        1111     1111              
  Lines       78530    79862    +1332     
  Branches    18554    19583    +1029     
==========================================
+ Hits         8464     8513      +49     
- Misses      61206    62372    +1166     
- Partials     8860     8977     +117     
Flag Coverage Δ *Carryforward flag
differential 1.39% <45.09%> (?)
total 10.76% <0.00%> (ø) Carriedforward from 4556a7a

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

Impacted Files Coverage Δ
...ning/behavior_path_planner/test/test_utilities.cpp 27.77% <22.22%> (-5.56%) ⬇️
planning/behavior_path_planner/src/utilities.cpp 3.94% <42.22%> (+2.89%) ⬆️
...nning/behavior_path_planner/src/path_utilities.cpp 0.00% <0.00%> (ø)
...r_path_planner/src/scene_module/pull_over/util.cpp 0.00% <0.00%> (ø)
...th_planner/src/scene_module/utils/path_shifter.cpp 0.00% <0.00%> (ø)
...er/src/scene_module/avoidance/avoidance_module.cpp 0.00% <0.00%> (ø)
...er/src/scene_module/pull_over/pull_over_module.cpp 0.00% <0.00%> (ø)
...lanner/scene_module/avoidance/avoidance_module.hpp 0.00% <0.00%> (ø)
...or_path_planner/src/behavior_path_planner_node.cpp 0.34% <0.00%> (+0.11%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@TakaHoribe TakaHoribe self-requested a review August 29, 2022 04:42
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Copy link
Contributor

@TakaHoribe TakaHoribe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Nice work!

@takayuki5168 takayuki5168 merged commit 425e474 into autowarefoundation:main Aug 29, 2022
@takayuki5168 takayuki5168 deleted the fix/skipped-lane-ids-revival branch August 29, 2022 06:19
boyali referenced this pull request in boyali/autoware.universe Sep 28, 2022
…l connection (tier4#1626)

* small refactor of skip smooth connection

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* revive removed lane_ids by smooth skip connection

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* add test

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* fix build error

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* fix

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
…l connection (tier4#1626)

* small refactor of skip smooth connection

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* revive removed lane_ids by smooth skip connection

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* add test

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* fix build error

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* fix

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
…l connection (tier4#1626)

* small refactor of skip smooth connection

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* revive removed lane_ids by smooth skip connection

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* add test

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* fix build error

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* fix

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
yukke42 pushed a commit to tzhong518/autoware.universe that referenced this pull request Oct 14, 2022
…l connection (autowarefoundation#1626)

* small refactor of skip smooth connection

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* revive removed lane_ids by smooth skip connection

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* add test

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* fix build error

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* fix

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
boyali referenced this pull request in boyali/autoware.universe Oct 19, 2022
…l connection (tier4#1626)

* small refactor of skip smooth connection

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* revive removed lane_ids by smooth skip connection

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* add test

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* fix build error

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* fix

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
saka1-s pushed a commit to saka1-s/autoware.universe that referenced this pull request Nov 9, 2024
…(for RT0-33952) (autowarefoundation#1626)

fix(lane_change): delay lane change cancel (autowarefoundation#8048)

RT1-6955: delay lane change cancel

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
saka1-s pushed a commit to saka1-s/autoware.universe that referenced this pull request Nov 9, 2024
…(for RT0-33952) (autowarefoundation#1626)

fix(lane_change): delay lane change cancel (autowarefoundation#8048)

RT1-6955: delay lane change cancel

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
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.

2 participants