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

refactor(lane_change): separate target lane leading based on obj behavior #9372

Conversation

zulfaqar-azmi-t4
Copy link
Contributor

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 commented Nov 19, 2024

Description

There are two goal to this PR.

  1. to update ego to obj distance to the extended object
  2. to separate objects based on its behavior in the lanes, i.e. stopped, moving, or if it within expanded lane.

How was this PR tested?

TIER IV Internal Link

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Nov 19, 2024
Copy link

github-actions bot commented Nov 19, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

Copy link
Contributor

@maxime-clem maxime-clem left a comment

Choose a reason for hiding this comment

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

The code looks okay and the evaluator result is good.

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Copy link

codecov bot commented Nov 22, 2024

Codecov Report

Attention: Patch coverage is 27.27273% with 80 lines in your changes missing coverage. Please review.

Project coverage is 28.96%. Comparing base (248bba7) to head (be8413a).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
...havior_path_lane_change_module/src/utils/utils.cpp 0.00% 40 Missing ⚠️
...are_behavior_path_lane_change_module/src/scene.cpp 25.00% 36 Missing ⚠️
...vior_path_lane_change_module/src/utils/markers.cpp 76.47% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9372      +/-   ##
==========================================
- Coverage   30.09%   28.96%   -1.13%     
==========================================
  Files        1340     1432      +92     
  Lines      103652   108282    +4630     
  Branches    40362    41394    +1032     
==========================================
+ Hits        31190    31362     +172     
- Misses      69450    73882    +4432     
- Partials     3012     3038      +26     
Flag Coverage Δ *Carryforward flag
differential 20.03% <27.27%> (?)
total 28.97% <ø> (-1.12%) ⬇️ Carriedforward from 816193b

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


🚨 Try these New Features:

Copy link
Contributor

@mkquda mkquda left a comment

Choose a reason for hiding this comment

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

Nice.

zulfaqar-azmi-t4 and others added 2 commits November 22, 2024 10:36
…common/include/autoware/behavior_path_planner_common/utils/path_safety_checker/objects_filtering.hpp

Co-authored-by: mkquda <168697710+mkquda@users.noreply.github.com>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…common/include/autoware/behavior_path_planner_common/utils/path_safety_checker/objects_filtering.hpp

Co-authored-by: mkquda <168697710+mkquda@users.noreply.github.com>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the RT1-8532-separate-target-lane-leading-based-on-obj-behavior branch from 2abc8f9 to 1e209b4 Compare November 22, 2024 01:40
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 enabled auto-merge (squash) November 22, 2024 01:45
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 merged commit 25e7d5d into autowarefoundation:main Nov 22, 2024
30 of 32 checks passed
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 deleted the RT1-8532-separate-target-lane-leading-based-on-obj-behavior branch November 22, 2024 07:30
zulfaqar-azmi-t4 added a commit to tier4/autoware.universe that referenced this pull request Dec 20, 2024
…vior (autowarefoundation#9372)

* separate target lane leading objects based on behavior (RT1-8532)

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* fixed overlapped filtering and lanes debug marker

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* combine filteredObjects function

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* renaming functions and type

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* update some logic to check is stopped

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* rename expanded to stopped_outside_boundary

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Include docstring

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* rename stopped_outside_boundary → stopped_at_bound

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Update planning/behavior_path_planner/autoware_behavior_path_planner_common/include/autoware/behavior_path_planner_common/utils/path_safety_checker/objects_filtering.hpp

Co-authored-by: mkquda <168697710+mkquda@users.noreply.github.com>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Update planning/behavior_path_planner/autoware_behavior_path_planner_common/include/autoware/behavior_path_planner_common/utils/path_safety_checker/objects_filtering.hpp

Co-authored-by: mkquda <168697710+mkquda@users.noreply.github.com>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* spell-check

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

---------

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Co-authored-by: mkquda <168697710+mkquda@users.noreply.github.com>
kyoichi-sugahara pushed a commit to tier4/autoware.universe that referenced this pull request Dec 20, 2024
…vior (autowarefoundation#9372)

* separate target lane leading objects based on behavior (RT1-8532)

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* fixed overlapped filtering and lanes debug marker

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* combine filteredObjects function

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* renaming functions and type

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* update some logic to check is stopped

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* rename expanded to stopped_outside_boundary

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Include docstring

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* rename stopped_outside_boundary → stopped_at_bound

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Update planning/behavior_path_planner/autoware_behavior_path_planner_common/include/autoware/behavior_path_planner_common/utils/path_safety_checker/objects_filtering.hpp

Co-authored-by: mkquda <168697710+mkquda@users.noreply.github.com>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Update planning/behavior_path_planner/autoware_behavior_path_planner_common/include/autoware/behavior_path_planner_common/utils/path_safety_checker/objects_filtering.hpp

Co-authored-by: mkquda <168697710+mkquda@users.noreply.github.com>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* spell-check

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

---------

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Co-authored-by: mkquda <168697710+mkquda@users.noreply.github.com>
kyoichi-sugahara pushed a commit to tier4/autoware.universe that referenced this pull request Dec 21, 2024
…vior (autowarefoundation#9372)

* separate target lane leading objects based on behavior (RT1-8532)

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* fixed overlapped filtering and lanes debug marker

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* combine filteredObjects function

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* renaming functions and type

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* update some logic to check is stopped

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* rename expanded to stopped_outside_boundary

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Include docstring

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* rename stopped_outside_boundary → stopped_at_bound

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Update planning/behavior_path_planner/autoware_behavior_path_planner_common/include/autoware/behavior_path_planner_common/utils/path_safety_checker/objects_filtering.hpp

Co-authored-by: mkquda <168697710+mkquda@users.noreply.github.com>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Update planning/behavior_path_planner/autoware_behavior_path_planner_common/include/autoware/behavior_path_planner_common/utils/path_safety_checker/objects_filtering.hpp

Co-authored-by: mkquda <168697710+mkquda@users.noreply.github.com>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* spell-check

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

---------

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Co-authored-by: mkquda <168697710+mkquda@users.noreply.github.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
No open projects
Development

Successfully merging this pull request may close these issues.

3 participants