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): fix external lane change buffer #3549

Merged
merged 2 commits into from
Apr 27, 2023

Conversation

purewater0901
Copy link
Contributor

@purewater0901 purewater0901 commented Apr 26, 2023

Description

Currently, the external lane change module generates a path till the end of the path (till the goal). However, it prevents the ego vehicle from performing lane change at the end of the path. Therefore, I modified the code to enable the module to plan a path with a necessary buffer (= minimum lane change length).

  • Before PR
    image

  • After PR
    image

Tests performed

Scenario Result 1329/1330
TIER IV Internal Link

Effects on system behavior

External Lane change generates a path that has a buffer to reach the goal with another lane change.

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.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Apr 26, 2023
@codecov
Copy link

codecov bot commented Apr 26, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (e7f8c12) 14.07% compared to head (3ae9b87) 14.07%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3549      +/-   ##
==========================================
- Coverage   14.07%   14.07%   -0.01%     
==========================================
  Files        1398     1398              
  Lines       97963    97964       +1     
  Branches    29085    29085              
==========================================
  Hits        13789    13789              
- Misses      69501    69502       +1     
  Partials    14673    14673              
Flag Coverage Δ *Carryforward flag
differential 15.34% <0.00%> (?)
total 14.07% <ø> (+<0.01%) ⬆️ Carriedforward from e7f8c12

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

Impacted Files Coverage Δ
...th_planner/src/scene_module/lane_change/normal.cpp 5.98% <0.00%> (ø)
...avior_path_planner/src/utils/lane_change/utils.cpp 0.69% <0.00%> (-0.01%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 left a comment

Choose a reason for hiding this comment

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

LGTM

@purewater0901 purewater0901 merged commit 2ae4625 into main Apr 27, 2023
@purewater0901 purewater0901 deleted the fix/external-lc-buffer branch April 27, 2023 04:43
Mingyu1991 pushed a commit to Mingyu1991/autoware.universe that referenced this pull request Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants