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(behavior_path_planner): fix the calculation of prepare length #1479

Merged

Conversation

tkimura4
Copy link
Contributor

@tkimura4 tkimura4 commented Aug 1, 2022

Signed-off-by: tomoya.kimura tomoya.kimura@tier4.jp

Description

In the current implementation, lane_change_prepare_length is proportional to current speed. So, when the vehicle is stopped, lane_change_prepare_length is also 0.
As a result, there are cases that lane-change lanes cannot be searched sufficiently and then a lane change candidate route does not appear.

Fixed this issue by setting a minimum distance to lane_change_prepare_length

Before:
https://user-images.githubusercontent.com/59680180/182078036-47d30538-ec96-4b97-b55e-de3348819231.mp4

After:
https://user-images.githubusercontent.com/59680180/182078023-39006b2b-b9c0-481f-9f3a-d92de7ed7a88.mp4

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.

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.

After all checkboxes are checked, anyone who has write access can merge the PR.

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
@tkimura4 tkimura4 requested a review from rej55 August 1, 2022 05:32
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
(It seems the link of the video file is reversed)

@tkimura4 tkimura4 enabled auto-merge (squash) August 1, 2022 05:40
@tkimura4 tkimura4 merged commit 420b591 into autowarefoundation:main Aug 1, 2022
@tkimura4 tkimura4 deleted the fix/lane_change_prepare_length branch August 1, 2022 05:59
tkimura4 referenced this pull request in tier4/autoware.universe Aug 1, 2022
)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
boyali referenced this pull request in boyali/autoware.universe Sep 28, 2022
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
yukke42 pushed a commit to tzhong518/autoware.universe that referenced this pull request Oct 14, 2022
boyali referenced this pull request in boyali/autoware.universe Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants