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): add the option to keep the last valid observation #6036

Conversation

soblin
Copy link
Contributor

@soblin soblin commented Jan 9, 2024

Description

Add the default argument keep_last_observation = false to PlannerData::getTrafficSignal() of behavior_velocity_planner. If the flag is true, UNKNOWN observation is overwritten as the last observed (non-UNKNOWN) information.

The issue of intermittent traffic light observation is mainly influential on traffic light module so the flag is false by default and only true for traffic light module.

Related links

Tests performed

https://evaluation.tier4.jp/evaluation/reports/6634d45f-ae4e-5b24-b27d-7db291e24f90?project_id=prd_jt

traffic light

before and after, the number of failure and fail patterns are exactly the same

crosswalk

before and after, , the difference is not related to traffic light (failed scenarios are not using traffic light).

Notes for reviewers

Interface changes

behavior_velocity_planner modules will behave according to the last observed traffic signal information when the latest observation is UNKNOWN.

Effects on system behavior

behavior_velocity_planner modules will behave according to the last observed traffic signal information when the latest observation is UNKNOWN.

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.

…ation

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
@soblin soblin force-pushed the feat/behavior_velocity_memorize_last_observed_tl branch from 1c64814 to 70df4f4 Compare January 9, 2024 11:16
@soblin soblin added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jan 10, 2024
soblin and others added 3 commits January 10, 2024 17:23
…ght is explicily true

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
@shmpwk shmpwk enabled auto-merge (squash) January 10, 2024 12:48
@shmpwk shmpwk disabled auto-merge January 10, 2024 12:48
@shmpwk shmpwk enabled auto-merge (squash) January 10, 2024 12:49
Copy link

codecov bot commented Jan 10, 2024

Codecov Report

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

Comparison is base (2a6c16b) 15.22% compared to head (5c9b159) 14.66%.
Report is 8 commits behind head on main.

Files Patch % Lines
...ity_intersection_module/src/scene_intersection.cpp 0.00% 8 Missing ⚠️
planning/behavior_velocity_planner/src/node.cpp 0.00% 5 Missing ⚠️
..._velocity_crosswalk_module/src/scene_crosswalk.cpp 0.00% 2 Missing ⚠️
...havior_velocity_traffic_light_module/src/scene.cpp 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6036      +/-   ##
==========================================
- Coverage   15.22%   14.66%   -0.57%     
==========================================
  Files        1767     1855      +88     
  Lines      121695   126345    +4650     
  Branches    37020    37024       +4     
==========================================
  Hits        18534    18534              
- Misses      82349    86999    +4650     
  Partials    20812    20812              
Flag Coverage Δ *Carryforward flag
differential 11.92% <0.00%> (?)
total 14.69% <ø> (-0.54%) ⬇️ Carriedforward from 618ad01

*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.

@shmpwk shmpwk merged commit 12fb788 into autowarefoundation:main Jan 10, 2024
20 of 24 checks passed
@shmpwk shmpwk deleted the feat/behavior_velocity_memorize_last_observed_tl branch January 10, 2024 18:35
zulfaqar-azmi-t4 pushed a commit to zulfaqar-azmi-t4/autoware.universe that referenced this pull request Jan 11, 2024
…ation (autowarefoundation#6036)

* feat(behavior_velocity): add the option to keep the last valid observation

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

* keep_last_observation is false by default and intersection/traffic_light is explicily true

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

* for intersection

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

---------

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
soblin added a commit to tier4/autoware.universe that referenced this pull request Jan 12, 2024
…ation (autowarefoundation#6036)

* feat(behavior_velocity): add the option to keep the last valid observation

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

* keep_last_observation is false by default and intersection/traffic_light is explicily true

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

* for intersection

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

---------

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
soblin added a commit to tier4/autoware.universe that referenced this pull request Jan 12, 2024
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 26, 2024
…ation (autowarefoundation#6036)

* feat(behavior_velocity): add the option to keep the last valid observation

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

* keep_last_observation is false by default and intersection/traffic_light is explicily true

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

* for intersection

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

---------

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 28, 2024
…ation (autowarefoundation#6036)

* feat(behavior_velocity): add the option to keep the last valid observation

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

* keep_last_observation is false by default and intersection/traffic_light is explicily true

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

* for intersection

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

---------

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 28, 2024
…ation (autowarefoundation#6036)

* feat(behavior_velocity): add the option to keep the last valid observation

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

* keep_last_observation is false by default and intersection/traffic_light is explicily true

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

* for intersection

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

---------

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
…ation (autowarefoundation#6036)

* feat(behavior_velocity): add the option to keep the last valid observation

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

* keep_last_observation is false by default and intersection/traffic_light is explicily true

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

* for intersection

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

---------

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
soblin added a commit to tier4/autoware.universe that referenced this pull request Oct 23, 2024
…ation (autowarefoundation#6036)

* feat(behavior_velocity): add the option to keep the last valid observation

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

* keep_last_observation is false by default and intersection/traffic_light is explicily true

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

* for intersection

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

---------

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
soblin added a commit to tier4/autoware.universe that referenced this pull request Oct 23, 2024
…ation (autowarefoundation#6036)

* feat(behavior_velocity): add the option to keep the last valid observation

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

* keep_last_observation is false by default and intersection/traffic_light is explicily true

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

* for intersection

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

---------

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
saka1-s pushed a commit to saka1-s/autoware.universe that referenced this pull request Nov 9, 2024
…ation (autowarefoundation#6036)

* feat(behavior_velocity): add the option to keep the last valid observation

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

* keep_last_observation is false by default and intersection/traffic_light is explicily true

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

* for intersection

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

---------

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) 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.

3 participants