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(detected_object_validation): consider shoulder lanelet in object lanelet filter #5324

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

shmpwk
Copy link
Contributor

@shmpwk shmpwk commented Oct 16, 2023

Description

Current object lanelet filter only considers the "road" lanelet.
This PR takes into account the "shoulder" lanelet where objects are filtered.
This idea is based on the current shoulder lane parking design, which considers objects in or accross the shoulder lanes.

Related links

This PR can address the Internal ticket.

Tests performed

Before

The objects in or across the shoulder lanelet are filtered after object_lanelet_filter node.
The unknown objects in the picture shows /perception/object_recognition/detection/objects

image

Screencast.from.2023.10.16.20.25.04.webm

After

The objects in or across the shoulder lanelet are not filtered after object_lanelet_filter node.

image

Screencast.from.2023.10.16.18.44.46.webm

Notes for reviewers

No

Interface changes

No

Effects on system behavior

This PR enables objects on the shoulder lanelet will be intentionally filtered.
If this is the case, the latent unknown objects will appear on the road shoulder which bother the road shoulder parking.
This suggests that we might need to seperate the road filter and shoulder filter in the future.

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.

…lanelet filter

Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp>
@shmpwk shmpwk requested a review from kosuke55 October 16, 2023 11:28
@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Oct 16, 2023
Copy link
Contributor

@kosuke55 kosuke55 left a comment

Choose a reason for hiding this comment

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

thanks! LGTM!

@kosuke55 kosuke55 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Oct 17, 2023
@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

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

Comparison is base (dad4722) 14.77% compared to head (816426e) 14.77%.
Report is 19 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5324      +/-   ##
==========================================
- Coverage   14.77%   14.77%   -0.01%     
==========================================
  Files        1664     1664              
  Lines      115081   115085       +4     
  Branches    35496    35496              
==========================================
  Hits        17008    17008              
- Misses      78889    78893       +4     
  Partials    19184    19184              
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 14.77% <ø> (+<0.01%) ⬆️ Carriedforward from 4c13b4e

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

Files Coverage Δ
...ed_object_validation/src/object_lanelet_filter.cpp 0.00% <0.00%> (ø)

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

@shmpwk shmpwk enabled auto-merge (squash) October 18, 2023 05:45
@shmpwk
Copy link
Contributor Author

shmpwk commented Oct 18, 2023

@yukkysaito @miursh
Could you approve this as a code owner?

Copy link
Contributor

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

shmpwk commented Oct 18, 2023

@yukkysaito
Thank you. Could you also trigger these CI?
image

@yukkysaito yukkysaito disabled auto-merge October 18, 2023 07:47
@yukkysaito yukkysaito closed this Oct 18, 2023
@yukkysaito yukkysaito reopened this Oct 18, 2023
@shmpwk shmpwk enabled auto-merge (squash) October 18, 2023 07:57
@shmpwk shmpwk merged commit a39b20d into main Oct 18, 2023
@shmpwk shmpwk deleted the fix/shoulder_lanelet_filter branch October 18, 2023 08:00
shmpwk added a commit to tier4/autoware.universe that referenced this pull request Oct 18, 2023
…lanelet filter (autowarefoundation#5324)

* fix(detected_object_validation): consider shoulder lanelet in object lanelet filter

Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp>

* style(pre-commit): autofix

---------

Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
YoshiRi pushed a commit to tier4/autoware.universe that referenced this pull request Jun 3, 2024
…lanelet filter (autowarefoundation#5324)

* fix(detected_object_validation): consider shoulder lanelet in object lanelet filter

Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp>

* style(pre-commit): autofix

---------

Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>
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) 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