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): fix stuck vehicle handling when going straight #2105

Merged

Conversation

soblin
Copy link
Contributor

@soblin soblin commented Oct 19, 2022

Description

Due to recent changes of the definition of right of way, intersection module was ignoring stuck vehicle ahead of the straight lane.

Tests performed

The ego vehicle stops in this scenario as shown in the video.

fix_stuck_handling_staright-2022-10-28_15.43.25.mp4

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.

@codecov
Copy link

codecov bot commented Oct 19, 2022

Codecov Report

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

Coverage data is based on head (3071d86) compared to base (4d92d1c).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2105      +/-   ##
==========================================
- Coverage   10.85%   10.83%   -0.02%     
==========================================
  Files        1177     1177              
  Lines       84265    84403     +138     
  Branches    19945    20044      +99     
==========================================
  Hits         9148     9148              
- Misses      65405    65523     +118     
- Partials     9712     9732      +20     
Flag Coverage Δ *Carryforward flag
differential 4.24% <0.00%> (?)
total 10.83% <0.00%> (ø) Carriedforward from 4d92d1c

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

Impacted Files Coverage Δ
...c/scene_module/intersection/scene_intersection.cpp 0.00% <0.00%> (ø)
...ity_planner/src/scene_module/intersection/util.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/intersection-stuck-handling branch 2 times, most recently from 072caa0 to 666d564 Compare October 28, 2022 06:40
@soblin soblin requested a review from 1222-takeshi October 28, 2022 06:47
@soblin soblin marked this pull request as ready for review October 28, 2022 06:55
Copy link
Contributor

@1222-takeshi 1222-takeshi left a comment

Choose a reason for hiding this comment

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

I tested, looks good.

before
Screenshot from 2022-10-28 16-39-19

after
image

soblin and others added 2 commits October 28, 2022 16:56
… straight

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
…on/scene_intersection.cpp

Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.com>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
@soblin soblin force-pushed the fix/intersection-stuck-handling branch from c42d890 to 3071d86 Compare October 28, 2022 07:57
@soblin
Copy link
Contributor Author

soblin commented Oct 28, 2022

@kyoichi-sugahara @taikitanaka3 Can u please approve this change as code owner ?

@soblin soblin merged commit e009b13 into autowarefoundation:main Oct 28, 2022
Copy link
Contributor

@kyoichi-sugahara kyoichi-sugahara 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 deleted the fix/intersection-stuck-handling branch October 28, 2022 09:50
soblin added a commit to tier4/autoware.universe that referenced this pull request Nov 22, 2022
… straight (autowarefoundation#2105)

* fix(behavior_velocity_planner): fix stuck vehicle handling when going straight

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

* Update planning/behavior_velocity_planner/src/scene_module/intersection/scene_intersection.cpp

Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.com>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.com>
HansRobo pushed a commit to HansRobo/autoware.universe that referenced this pull request Dec 16, 2022
… straight (autowarefoundation#2105)

* fix(behavior_velocity_planner): fix stuck vehicle handling when going straight

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

* Update planning/behavior_velocity_planner/src/scene_module/intersection/scene_intersection.cpp

Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.com>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.com>
Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
soblin added a commit to soblin/autoware.universe that referenced this pull request Dec 22, 2022
… straight (autowarefoundation#2105)

* fix(behavior_velocity_planner): fix stuck vehicle handling when going straight

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

* Update planning/behavior_velocity_planner/src/scene_module/intersection/scene_intersection.cpp

Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.com>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.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.

4 participants