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): get sorted lane ids #2847

Merged

Conversation

zulfaqar-azmi-t4
Copy link
Contributor

Description

Currently, the generated lane change points lane ids are not properly sorted.
Ideally the lane ids should be sorted as follow

lane id explanation drawing

This PR aims to solve this by properly having a sorted lane ids.

Related links

#2836

Tests performed

Test lane change function and it is expected that it behave as usual.

Notes for reviewers

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.

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Feb 8, 2023
@codecov
Copy link

codecov bot commented Feb 8, 2023

Codecov Report

Base: 11.62% // Head: 11.59% // Decreases project coverage by -0.04% ⚠️

Coverage data is based on head (52c5bbf) compared to base (14979d0).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2847      +/-   ##
==========================================
- Coverage   11.62%   11.59%   -0.04%     
==========================================
  Files        1321     1321              
  Lines       92140    92392     +252     
  Branches    24443    24612     +169     
==========================================
  Hits        10714    10714              
- Misses      70244    70482     +238     
- Partials    11182    11196      +14     
Flag Coverage Δ *Carryforward flag
differential 4.67% <0.00%> (?)
total 11.62% <0.00%> (ø) Carriedforward from 14979d0

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

Impacted Files Coverage Δ
...path_planner/src/scene_module/lane_change/util.cpp 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@tkimura4 tkimura4 left a comment

Choose a reason for hiding this comment

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

LGTM

@tkimura4 tkimura4 merged commit a052556 into autowarefoundation:main Feb 9, 2023
@tkimura4 tkimura4 deleted the fix-lc-shifted-path-lane-ids branch February 9, 2023 05:07
tkimura4 pushed a commit to tier4/autoware.universe that referenced this pull request Feb 9, 2023
* fix(lane_change): get sorted lane ids

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

* slightly change the find

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

---------

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
tkimura4 added a commit to tier4/autoware.universe that referenced this pull request Feb 9, 2023
* fix(lane_change): get sorted lane ids



* slightly change the find



---------

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Co-authored-by: Zulfaqar Azmi <93502286+zulfaqar-azmi-t4@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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants