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(intersection): ignore decelerating vehicle on amber traffic light #5304

Conversation

soblin
Copy link
Contributor

@soblin soblin commented Oct 13, 2023

Description

If the NPC's distance to its stopline before the intersection is larger than the braking distance, it is ignored in the collision detection when ego traffic light color is amber.

Related links

launcher PR: autowarefoundation/autoware_launch#635

Tests performed

In the video a NPC approaches from the same position with the same velocity on green/amber traffic light. When ego traffic light color is amber collision detection is not active until the vehicle approaches the stop line.

PR5304-2023-10-13_17.59.39.mp4

evaluator: https://evaluation.tier4.jp/evaluation/reports/9afba9e8-1bed-560f-8a0b-0dbca794fb59?project_id=prd_jt

Notes for reviewers

Interface changes

none.

Effects on system behavior

none.

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 Oct 13, 2023
@soblin soblin force-pushed the feat/intersection/ignore-decelerating-vehicle-on-amber-traffic-light branch from 9644bca to 3b57eb2 Compare October 14, 2023 13:24
@soblin soblin force-pushed the feat/intersection/ignore-decelerating-vehicle-on-amber-traffic-light branch from 3b57eb2 to 4ccff1f Compare October 14, 2023 15:36
@soblin soblin marked this pull request as ready for review October 14, 2023 15:39
@soblin soblin added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Oct 14, 2023
@codecov
Copy link

codecov bot commented Oct 14, 2023

Codecov Report

Attention: 210 lines in your changes are missing coverage. Please review.

Comparison is base (4383d6b) 14.81% compared to head (4ccff1f) 14.80%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5304      +/-   ##
==========================================
- Coverage   14.81%   14.80%   -0.01%     
==========================================
  Files        1665     1665              
  Lines      115176   115236      +60     
  Branches    35519    35552      +33     
==========================================
  Hits        17066    17066              
- Misses      78870    78926      +56     
- Partials    19240    19244       +4     
Flag Coverage Δ *Carryforward flag
differential 5.83% <0.00%> (?)
total 14.83% <ø> (+0.01%) ⬆️ Carriedforward from 4383d6b

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

Files Coverage Δ
...ity_intersection_module/src/scene_intersection.hpp 0.00% <ø> (ø)
...ehavior_velocity_intersection_module/src/debug.cpp 0.00% <0.00%> (ø)
...ior_velocity_intersection_module/src/util_type.hpp 0.00% <0.00%> (ø)
...avior_velocity_intersection_module/src/manager.cpp 14.66% <0.00%> (-0.23%) ⬇️
...ity_intersection_module/src/scene_intersection.cpp 0.00% <0.00%> (ø)
...behavior_velocity_intersection_module/src/util.cpp 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@takayuki5168 takayuki5168 merged commit d1a77d5 into autowarefoundation:main Oct 15, 2023
33 of 37 checks passed
@takayuki5168 takayuki5168 deleted the feat/intersection/ignore-decelerating-vehicle-on-amber-traffic-light branch October 15, 2023 04:50
takayuki5168 pushed a commit to tier4/autoware.universe that referenced this pull request Oct 15, 2023
autowarefoundation#5304)

* merge attention area lanelets topologically

Signed-off-by: Mamoru Sobue <[email protected]>

* query stop line for each merged detection lanelet

Signed-off-by: Mamoru Sobue <[email protected]>

* first conflicting/attention area

Signed-off-by: Mamoru Sobue <[email protected]>

* ignore expectedToStopBeforeStopLine vehicle

Signed-off-by: Mamoru Sobue <[email protected]>

* ignore expectedToStopBeforeStopLine vehicle

Signed-off-by: Mamoru Sobue <[email protected]>

* fix

Signed-off-by: Mamoru Sobue <[email protected]>

---------

Signed-off-by: Mamoru Sobue <[email protected]>
soblin added a commit to tier4/autoware.universe that referenced this pull request Oct 20, 2023
autowarefoundation#5304)

* merge attention area lanelets topologically

Signed-off-by: Mamoru Sobue <[email protected]>

* query stop line for each merged detection lanelet

Signed-off-by: Mamoru Sobue <[email protected]>

* first conflicting/attention area

Signed-off-by: Mamoru Sobue <[email protected]>

* ignore expectedToStopBeforeStopLine vehicle

Signed-off-by: Mamoru Sobue <[email protected]>

* ignore expectedToStopBeforeStopLine vehicle

Signed-off-by: Mamoru Sobue <[email protected]>

* fix

Signed-off-by: Mamoru Sobue <[email protected]>

---------

Signed-off-by: Mamoru Sobue <[email protected]>
soblin added a commit to tier4/autoware.universe that referenced this pull request Nov 2, 2023
autowarefoundation#5304)

* merge attention area lanelets topologically

Signed-off-by: Mamoru Sobue <[email protected]>

* query stop line for each merged detection lanelet

Signed-off-by: Mamoru Sobue <[email protected]>

* first conflicting/attention area

Signed-off-by: Mamoru Sobue <[email protected]>

* ignore expectedToStopBeforeStopLine vehicle

Signed-off-by: Mamoru Sobue <[email protected]>

* ignore expectedToStopBeforeStopLine vehicle

Signed-off-by: Mamoru Sobue <[email protected]>

* fix

Signed-off-by: Mamoru Sobue <[email protected]>

---------

Signed-off-by: Mamoru Sobue <[email protected]>
soblin added a commit to soblin/autoware.universe that referenced this pull request Nov 18, 2023
autowarefoundation#5304)

* merge attention area lanelets topologically

Signed-off-by: Mamoru Sobue <[email protected]>

* query stop line for each merged detection lanelet

Signed-off-by: Mamoru Sobue <[email protected]>

* first conflicting/attention area

Signed-off-by: Mamoru Sobue <[email protected]>

* ignore expectedToStopBeforeStopLine vehicle

Signed-off-by: Mamoru Sobue <[email protected]>

* ignore expectedToStopBeforeStopLine vehicle

Signed-off-by: Mamoru Sobue <[email protected]>

* fix

Signed-off-by: Mamoru Sobue <[email protected]>

---------

Signed-off-by: Mamoru Sobue <[email protected]>
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) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants