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(avoidance): ignore objects are in intersection when the ego stops by red traffic signal #6565

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

satoshi-ota
Copy link
Contributor

@satoshi-ota satoshi-ota commented Mar 7, 2024

Description

Sometimes, the avoidance modue generate unnecessary avoidance path for objects which are in intersection even when the ego stops by red traffic signal.

Related PR: https://tier4.atlassian.net/browse/RT1-5365
image

In this PR, I fixed detection range so that the module can ignore unrelated object.

Traffic light: RED -> Ignore objects are in intersection

image

Traffic light: GREEN -> Check objects are in intersection

image

Tests performed

Effects on system behavior

Improve avoidance behavior.

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 Mar 7, 2024
…ic light

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@satoshi-ota satoshi-ota force-pushed the fix/filter-by-red-signal branch from e8b218a to 4208a72 Compare March 11, 2024 00:39
@satoshi-ota satoshi-ota marked this pull request as ready for review March 11, 2024 10:02
@satoshi-ota satoshi-ota changed the title fix(avoidance): don't avoid objects are farther than red signal traffic light fix(avoidance): ignore objects are in intersection when the ego stops by red traffic signal Mar 11, 2024
Copy link
Contributor

@shmpwk shmpwk left a comment

Choose a reason for hiding this comment

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

LGTM!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

@shmpwk shmpwk added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Mar 11, 2024
Copy link

codecov bot commented Mar 11, 2024

Codecov Report

Attention: Patch coverage is 57.14286% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 14.79%. Comparing base (d57e97e) to head (4208a72).
Report is 11 commits behind head on main.

Files Patch % Lines
...nning/behavior_path_avoidance_module/src/scene.cpp 57.14% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6565   +/-   ##
=======================================
  Coverage   14.78%   14.79%           
=======================================
  Files        1917     1917           
  Lines      132211   132217    +6     
  Branches    39297    39300    +3     
=======================================
+ Hits        19552    19555    +3     
- Misses      90833    90834    +1     
- Partials    21826    21828    +2     
Flag Coverage Δ *Carryforward flag
differential 12.99% <57.14%> (?)
total 14.78% <ø> (-0.01%) ⬇️ Carriedforward from d57e97e

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

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

@satoshi-ota satoshi-ota merged commit c1b8f46 into autowarefoundation:main Mar 12, 2024
47 checks passed
@satoshi-ota satoshi-ota deleted the fix/filter-by-red-signal branch March 12, 2024 00:53
HansRobo pushed a commit that referenced this pull request Mar 12, 2024
… by red traffic signal (#6565)

fix(avoidance): don't avoid objects are farther than red signal traffic light

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
satoshi-ota added a commit to tier4/autoware.universe that referenced this pull request Mar 19, 2024
… by red traffic signal (autowarefoundation#6565)

fix(avoidance): don't avoid objects are farther than red signal traffic light

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
kaigohirao pushed a commit to kaigohirao/autoware.universe that referenced this pull request Mar 22, 2024
… by red traffic signal (autowarefoundation#6565)

fix(avoidance): don't avoid objects are farther than red signal traffic light

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: kaigohirao <kaigo.hirao@proxima-ai-tech.com>
satoshi-ota added a commit to tier4/autoware.universe that referenced this pull request Mar 28, 2024
… by red traffic signal (autowarefoundation#6565)

fix(avoidance): don't avoid objects are farther than red signal traffic light

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
… by red traffic signal (autowarefoundation#6565)

fix(avoidance): don't avoid objects are farther than red signal traffic light

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
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