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(lane_change): remove overlapping preceding lanes #9526

Conversation

zulfaqar-azmi-t4
Copy link
Contributor

Description

When the lanes are short, the preceding lane might overlap with the current lanes, as shown in the video below.

This could potentially affect the safety check results. To avoid this, we should remove the overlapping lane.

Before

Preceding lanes (Dark blue lanes) overlap current lanes.

cap-.2024-11-29-19-26-53.mp4

After

Preceding lanes no longer overlaps current lanes.

cap-.2024-11-29-19-24-40.mp4

Related links

Parent Issue:

  • Link

How was this PR tested?

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 29, 2024
Copy link

github-actions bot commented Nov 29, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

@maxime-clem maxime-clem added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Dec 2, 2024
Copy link

codecov bot commented Dec 2, 2024

Codecov Report

Attention: Patch coverage is 90.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 29.55%. Comparing base (3cfb03e) to head (8a02997).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
...havior_path_lane_change_module/src/utils/utils.cpp 89.47% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9526   +/-   ##
=======================================
  Coverage   29.54%   29.55%           
=======================================
  Files        1443     1445    +2     
  Lines      108489   108537   +48     
  Branches    41391    41399    +8     
=======================================
+ Hits        32055    32073   +18     
- Misses      73323    73353   +30     
  Partials     3111     3111           
Flag Coverage Δ *Carryforward flag
differential 22.21% <90.00%> (?)
total 29.54% <ø> (-0.01%) ⬇️ Carriedforward from 3cfb03e

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

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the RT1-8735-avoid-preceding-lanes-overlap-with-current-lanes branch from d1be3e9 to 77fed5d Compare December 4, 2024 04:39
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the RT1-8735-avoid-preceding-lanes-overlap-with-current-lanes branch from b9b800d to 744e6aa Compare December 5, 2024 03:54
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the RT1-8735-avoid-preceding-lanes-overlap-with-current-lanes branch from 744e6aa to 51a80c9 Compare December 9, 2024 09:26
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.

LGTM.

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the RT1-8735-avoid-preceding-lanes-overlap-with-current-lanes branch from d2d5d58 to 53d91e1 Compare December 12, 2024 06:42
Signed-off-by: Zulfaqar Azmi <[email protected]>
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 enabled auto-merge (squash) December 12, 2024 06:49
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 merged commit b58d8f6 into autowarefoundation:main Dec 12, 2024
32 of 33 checks passed
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 deleted the RT1-8735-avoid-preceding-lanes-overlap-with-current-lanes branch December 12, 2024 07:31
kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Dec 13, 2024
…ion#9526)

* fix(lane_change): remove overlapping preceding lanes

Signed-off-by: Zulfaqar Azmi <[email protected]>

* fix cpp check

Signed-off-by: Zulfaqar Azmi <[email protected]>

* start searching disconnected lanes directly

Signed-off-by: Zulfaqar Azmi <[email protected]>

* just remove starting from overlapped found

Signed-off-by: Zulfaqar Azmi <[email protected]>

* return non reversed lanes

Signed-off-by: Zulfaqar Azmi <[email protected]>

* fix precommit

Signed-off-by: Zulfaqar Azmi <[email protected]>

---------

Signed-off-by: Zulfaqar Azmi <[email protected]>
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) 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