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): intersection check caused incorrect stopping point #818

Conversation

zulfaqar-azmi-t4
Copy link
Contributor

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 commented Apr 27, 2022

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

Description

this is happens whenever intersection is involved.

If the there is intersection in the list of lanelet sequence, if the goal is not in the intersection, the last stopping point is not within stopping threshold.

Related links

#531
#810

Tests performed

Test 1:

  1. place the start and goal within a single lanelet as follows
  2. The last stopping point should be within threshold distance.

Example 1:
Screenshot from 2022-04-27 13-03-45

Example 2:

Peek.2022-04-27.14-59.mp4

Test 2:

  1. place the goal directly after the intersection.
  2. The last stopping point before lane change should be before intersection

Example 1:

Screenshot from 2022-04-27 13-04-07

Example 2:

Peek.2022-04-27.14-57.mp4

Test 3:

  1. place the goal further after intersection
  2. The last stopping point should be within threshold distance.

Example 1:

Screenshot from 2022-04-27 13-04-47

Example 2:

Peek.2022-04-27.14-58.mp4

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.

this is happens whenever intersection is involved.

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 added type:bug Software flaws or errors. component:planning Route planning, decision-making, and navigation. (auto-assigned) labels Apr 27, 2022
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 self-assigned this Apr 27, 2022
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 requested a review from rej55 April 27, 2022 04:22
@codecov
Copy link

codecov bot commented Apr 27, 2022

Codecov Report

Merging #818 (d3a0595) into main (580565a) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##            main    #818      +/-   ##
========================================
- Coverage   9.55%   9.54%   -0.01%     
========================================
  Files        921     921              
  Lines      57196   57231      +35     
  Branches    6830    6830              
========================================
  Hits        5465    5465              
- Misses     47229   47264      +35     
  Partials    4502    4502              
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 9.55% <0.00%> (ø) Carriedforward from 580565a

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

Impacted Files Coverage Δ
planning/behavior_path_planner/src/utilities.cpp 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 580565a...d3a0595. Read the comment docs.

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 marked this pull request as ready for review April 27, 2022 06:36
Copy link
Contributor

@rej55 rej55 left a comment

Choose a reason for hiding this comment

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

LGTM

@rej55 rej55 merged commit 7aca634 into autowarefoundation:main Apr 27, 2022
boyali referenced this pull request in boyali/autoware.universe Sep 28, 2022
…ier4#818)

this is happens whenever intersection is involved.

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
…ier4#818)

this is happens whenever intersection is involved.

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
…ier4#818)

this is happens whenever intersection is involved.

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
boyali referenced this pull request in boyali/autoware.universe Oct 19, 2022
…ier4#818)

this is happens whenever intersection is involved.

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 deleted the 810-checkLAneIsInIntersection-lane-change-bug branch December 13, 2022 03:33
ryuichi-maeda pushed a commit to sensefield/autoware.universe that referenced this pull request Jan 10, 2025
)

* playbooks.ecu_common: use new otaclient and otaclient_logger roles

* ecu_setup.yaml: setup sample setting variables for new otaclient and otaclient_logger roles

* add cspell.json, includes otaclient related terms

* style(pre-commit): autofix

* minor update

---------

Co-authored-by: Bodong-Yang <Bodong-Yang@users.noreply.github.com>
iwatake2222 pushed a commit to iwatake2222/autoware.universe that referenced this pull request Jan 17, 2025
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) type:bug Software flaws or errors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants