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_velocity_planner): keep intersection module for lanes with same parent and same direction #2874

Merged

Conversation

soblin
Copy link
Contributor

@soblin soblin commented Feb 13, 2023

Description

Additional fix for following PRs. I restricted the condition for keeping the existing intersection module to check if the turn_direction is identical.

Related links

Tests performed

Checked by changing the left-turn route by placing a checkpoint.

image

Before this change

After changing the path from a left-turn route to straight one, the intersection module for left-turn lane was still running.

image

After this change

The intersection module for left-turn lane is not running, and the one for straight lane is running instead.

image

Notes for reviewers

  • We may need a mechanism to reset the planning module when the route is changed externally.
  • For merge_from_private module, LC is not considered
  • intersection module needs additional change for generating stop line position based on the path, not a specific lane
    • the stop position for traffic light module looks OK:

Screenshot from 2023-02-13 14-50-34
Screenshot from 2023-02-13 14-50-52

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.

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

codecov bot commented Feb 13, 2023

Codecov Report

Base: 11.70% // Head: 11.70% // Decreases project coverage by -0.01% ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2874      +/-   ##
==========================================
- Coverage   11.70%   11.70%   -0.01%     
==========================================
  Files        1314     1314              
  Lines       91624    91632       +8     
  Branches    24489    24496       +7     
==========================================
  Hits        10726    10726              
- Misses      69710    69718       +8     
  Partials    11188    11188              
Flag Coverage Δ *Carryforward flag
differential 4.00% <0.00%> (?)
total 11.70% <ø> (+<0.01%) ⬆️ Carriedforward from b850b25

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

Impacted Files Coverage Δ
...path_planner/src/scene_module/lane_change/util.cpp 0.00% <ø> (ø)
...nner/include/scene_module/intersection/manager.hpp 0.00% <ø> (ø)
..._planner/src/scene_module/intersection/manager.cpp 0.00% <0.00%> (ø)

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.

@soblin soblin force-pushed the fix/restrict-lc-intersection-cond branch from 6e6d8d6 to c0ee97c Compare February 13, 2023 04:54
…th same parent and same direction

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Copy link
Contributor

@rej55 rej55 left a comment

Choose a reason for hiding this comment

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

LGTM

@soblin soblin enabled auto-merge (squash) February 13, 2023 05:55
Copy link
Contributor

@purewater0901 purewater0901 left a comment

Choose a reason for hiding this comment

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

LGTM

@soblin soblin merged commit a18de91 into autowarefoundation:main Feb 13, 2023
@soblin soblin deleted the fix/restrict-lc-intersection-cond branch February 13, 2023 06:05
soblin added a commit to soblin/autoware.universe that referenced this pull request Mar 6, 2023
…th same parent and same direction (autowarefoundation#2874)

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
soblin added a commit to soblin/autoware.universe that referenced this pull request May 7, 2023
…th same parent and same direction (autowarefoundation#2874)

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
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