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(map_based_prediction): filter by distance for opposite lanes as well #5195

Conversation

kminoda
Copy link
Contributor

@kminoda kminoda commented Oct 2, 2023

Description

We observed a case in which the vehicle detected outside of the lanes were associated with a lanelet that is completely irrelevant, resulting in a weird predicted path generated in front of the ego-vehicle. After some investigation, we figured out that the package finds current_lanelet even for such vehicles in Step 2. Search opposite directional lanelets part.

After discussing with @takayuki5168, we propose to add the distance filtering to the Step 2 as well as Step 1.

INTERNAL LINK: https://tier4.atlassian.net/browse/RT0-29313

Tests performed

Tested in pilot-auto.x2 and confirmed that the false positive prediction path is suppressed.

Effects on system behavior

Note that this modification may produce some false negatives for some vehicles that are passing the opposite lanes (e.g. during avoidance). But we assume that this increase in false negatives is limited since the distance threshold (3.0 m) is still fairly large. If we still encounter some false positives, we may also consider changing the distance threshold only for opposite lanes (e.g. making it larger).

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:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Oct 2, 2023
@kminoda kminoda marked this pull request as ready for review October 2, 2023 08:26
Signed-off-by: kminoda <koji.minoda@tier4.jp>
@kminoda kminoda added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Oct 2, 2023
@codecov
Copy link

codecov bot commented Oct 2, 2023

Codecov Report

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

Comparison is base (14ef695) 14.78% compared to head (ea345ae) 14.79%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5195   +/-   ##
=======================================
  Coverage   14.78%   14.79%           
=======================================
  Files        1636     1636           
  Lines      113602   113541   -61     
  Branches    34913    34877   -36     
=======================================
+ Hits        16793    16795    +2     
+ Misses      77968    77912   -56     
+ Partials    18841    18834    -7     
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 14.79% <ø> (+<0.01%) ⬆️ Carriedforward from e337576

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

Files Coverage Δ
...map_based_prediction/map_based_prediction_node.hpp 0.00% <ø> (ø)
...er/src/scene_module/avoidance/avoidance_module.cpp 12.33% <ø> (+<0.01%) ⬆️
...ehavior_velocity_intersection_module/src/debug.cpp 0.00% <ø> (ø)
...ity_intersection_module/src/scene_intersection.cpp 0.00% <ø> (ø)
...behavior_velocity_intersection_module/src/util.cpp 0.00% <ø> (ø)
...ior_velocity_intersection_module/src/util_type.hpp 0.00% <ø> (ø)
...em_monitor/src/process_monitor/process_monitor.cpp 0.00% <ø> (ø)
...based_prediction/src/map_based_prediction_node.cpp 0.00% <0.00%> (ø)

... and 8 files with indirect coverage changes

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

@kminoda kminoda merged commit e7bc187 into autowarefoundation:main Oct 2, 2023
21 of 23 checks passed
@kminoda kminoda deleted the fix/map_based_prediction/filter_by_distance_for_opposite_lanes branch October 2, 2023 22:01
kminoda added a commit to kminoda/autoware.universe that referenced this pull request Oct 2, 2023
…ell (autowarefoundation#5195)

* fix(map_based_prediction): filter by distance for opposite lanes as well

Signed-off-by: kminoda <koji.minoda@tier4.jp>

* update

Signed-off-by: kminoda <koji.minoda@tier4.jp>

---------

Signed-off-by: kminoda <koji.minoda@tier4.jp>
takayuki5168 pushed a commit to tier4/autoware.universe that referenced this pull request Oct 4, 2023
…ell (autowarefoundation#5195) (#899)

* fix(map_based_prediction): filter by distance for opposite lanes as well



* update



---------

Signed-off-by: kminoda <koji.minoda@tier4.jp>
t4-x2 pushed a commit to tier4/autoware.universe that referenced this pull request Oct 5, 2023
…ell (autowarefoundation#5195) (#899)

* fix(map_based_prediction): filter by distance for opposite lanes as well



* update



---------

Signed-off-by: kminoda <koji.minoda@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:perception Advanced sensor data processing and environment understanding. (auto-assigned) tag: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