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

feat(behavior_velocity_planner): generate stop line if private path conflicts with urban lane #1676

Conversation

soblin
Copy link
Contributor

@soblin soblin commented Aug 24, 2022

activate merge_from_private if the goal is in private path and the lane is conflicting with urban lane

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

Description

Previously merge_from_private module worked if (1) the lane is intersection lane (2) if the lane is private lane (3) if the next lane on the path is urban lane. This PR relax condition (3) and generate stop line even if the goal is in private path, if the lane conflicts with urban lane.

Tests performed

In the left image merge_from_private stop line is not generated, and in the right one it is generated
Screenshot from 2022-08-24 16-06-00

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 Aug 24, 2022

Codecov Report

Merging #1676 (e9a8cb9) into main (235fa03) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1676      +/-   ##
==========================================
- Coverage   10.72%   10.72%   -0.01%     
==========================================
  Files        1105     1105              
  Lines       78400    78434      +34     
  Branches    18620    18645      +25     
==========================================
  Hits         8409     8409              
- Misses      61078    61100      +22     
- Partials     8913     8925      +12     
Flag Coverage Δ *Carryforward flag
differential 4.19% <0.00%> (?)
total 10.71% <0.00%> (ø) Carriedforward from 235fa03

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

Impacted Files Coverage Δ
..._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.

@taikitanaka3
Copy link
Contributor

@soblin
Thank you for PR
Can you verify if "calculating conflicting lanelet for all path point is not heavy" using long path and watch processing time ms to compare time before merging this PR and after merging this PR?

@soblin
Copy link
Contributor Author

soblin commented Aug 25, 2022

@taikitanaka3
Actually this is calculating conflicting lanelet only if (1) the lanelet is private and turning, (2) and it is the last lanelet on the path, so the calculation is very limited.

The calculation time of scene module assignment for all path lanelets:
[component_container_mt-47] @planPathVelocity: total elapsed time of updateSceneModulesInstances = 2.215ms

The calculation time for conflicting lanelet:
[component_container_mt-47] @launchNewModules of MergeFromPrivate: total elapsed time of conflicting query is 0.007ms

It was very lightweight.

@taikitanaka3
Copy link
Contributor

taikitanaka3 commented Aug 25, 2022

@soblin
Thank you can you also write readme about this feature(can be another PR)?

Copy link
Contributor

@taikitanaka3 taikitanaka3 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
Copy link
Contributor Author

soblin commented Aug 25, 2022

Right, I'll append README

soblin added 2 commits August 25, 2022 19:50
…oal is in private path and the lane is conflicting with urban lane

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
@soblin soblin force-pushed the feat/always-stop-before-merge-from-private branch from e9c1567 to e9a8cb9 Compare August 25, 2022 10:50
@soblin soblin enabled auto-merge (squash) August 25, 2022 10:51
@soblin
Copy link
Contributor Author

soblin commented Aug 25, 2022

Done. Let me merge this PR

@soblin soblin merged commit bca42f4 into autowarefoundation:main Aug 25, 2022
@soblin soblin deleted the feat/always-stop-before-merge-from-private branch August 26, 2022 05:10
boyali referenced this pull request in boyali/autoware.universe Sep 28, 2022
…onflicts with urban lane (tier4#1676)

* feat(behavior_velocity_planner): activate merge_from_private if the goal is in private path and the lane is conflicting with urban lane

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
…onflicts with urban lane (tier4#1676)

* feat(behavior_velocity_planner): activate merge_from_private if the goal is in private path and the lane is conflicting with urban lane

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
…onflicts with urban lane (tier4#1676)

* feat(behavior_velocity_planner): activate merge_from_private if the goal is in private path and the lane is conflicting with urban lane

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
yukke42 pushed a commit to tzhong518/autoware.universe that referenced this pull request Oct 14, 2022
…onflicts with urban lane (autowarefoundation#1676)

* feat(behavior_velocity_planner): activate merge_from_private if the goal is in private path and the lane is conflicting with urban lane

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
boyali referenced this pull request in boyali/autoware.universe Oct 19, 2022
…onflicts with urban lane (tier4#1676)

* feat(behavior_velocity_planner): activate merge_from_private if the goal is in private path and the lane is conflicting with urban lane

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
soblin added a commit to soblin/autoware.universe that referenced this pull request Dec 22, 2022
…onflicts with urban lane (autowarefoundation#1676)

* feat(behavior_velocity_planner): activate merge_from_private if the goal is in private path and the lane is conflicting with urban lane

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
technolojin added a commit to technolojin/autoware.universe that referenced this pull request Dec 10, 2024
…ropping pillars (autowarefoundation#9488) (autowarefoundation#1676)

* feat: added a check to notify if we are dropping pillars



* chore: updated text



* chore: throttled the message



---------

Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>
Co-authored-by: Kenzo Lobos Tsunekawa <kenzo.lobos@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