-
Notifications
You must be signed in to change notification settings - Fork 676
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(avoidance): output invalid avoidance path with unsafe state #5689
Merged
satoshi-ota
merged 1 commit into
autowarefoundation:main
from
satoshi-ota:fix/output-invalid-avoidance-path
Dec 10, 2023
Merged
fix(avoidance): output invalid avoidance path with unsafe state #5689
satoshi-ota
merged 1 commit into
autowarefoundation:main
from
satoshi-ota:fix/output-invalid-avoidance-path
Dec 10, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
the
component:planning
Route planning, decision-making, and navigation. (auto-assigned)
label
Nov 27, 2023
satoshi-ota
added
the
run:build-and-test-differential
Mark to enable build-and-test-differential workflow. (used-by-ci)
label
Nov 27, 2023
satoshi-ota
force-pushed
the
fix/output-invalid-avoidance-path
branch
from
November 28, 2023 10:03
92ce4cb
to
7e4a740
Compare
satoshi-ota
requested review from
rej55,
kosuke55,
kyoichi-sugahara,
soblin,
shmpwk,
taikitanaka3,
TakaHoribe,
takayuki5168,
tkimura4 and
zulfaqar-azmi-t4
as code owners
November 29, 2023 01:10
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
satoshi-ota
force-pushed
the
fix/output-invalid-avoidance-path
branch
from
December 8, 2023 08:48
7e4a740
to
c19b3dc
Compare
kyoichi-sugahara
approved these changes
Dec 9, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
danielsanchezaran
pushed a commit
to tier4/autoware.universe
that referenced
this pull request
Dec 15, 2023
…warefoundation#5689) fix(avoidance): output invalid avoidance path Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
karishma1911
pushed a commit
to Interplai/autoware.universe
that referenced
this pull request
Dec 19, 2023
…warefoundation#5689) fix(avoidance): output invalid avoidance path Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Signed-off-by: karishma <karishma@interpl.ai>
karishma1911
pushed a commit
to Interplai/autoware.universe
that referenced
this pull request
Dec 19, 2023
…warefoundation#5689) fix(avoidance): output invalid avoidance path Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Signed-off-by: karishma <karishma@interpl.ai>
karishma1911
pushed a commit
to Interplai/autoware.universe
that referenced
this pull request
May 26, 2024
…warefoundation#5689) fix(avoidance): output invalid avoidance path Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
karishma1911
pushed a commit
to Interplai/autoware.universe
that referenced
this pull request
May 28, 2024
…warefoundation#5689) fix(avoidance): output invalid avoidance path Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
karishma1911
pushed a commit
to Interplai/autoware.universe
that referenced
this pull request
May 28, 2024
…warefoundation#5689) fix(avoidance): output invalid avoidance path Signed-off-by: satoshi-ota <satoshi.ota928@gmail.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)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
🤖[deprecated] Generated by Copilot at 92ce4cb
Improved the avoidance module in
behavior_path_planner
to handle invalid avoid data and simplify the code. Refactored theisExecutionReady
,fillShiftLine
, andfillEgoStatus
functions inavoidance_module.cpp
.Previously, it couldn't approve the avoidance shift path correctly if return shift line was invaild. (invalid means out of lane.) This causes following wierd behavior.
simplescreenrecorder-2023-11-29_10.03.40.mp4
In above situation, the vehicle is probably stuck in front of the obstacle. But I think it is better to create avoidance path even if it can't find valid return path in avoidance module because there is a possibility that other modules (e.g. obstacle avoidance planner in motion layer) can generate feasible path which is in drivable area.
Tests performed
Invalid path (path points are closer to drivable bound than threshold) is outputted as unsafe state.
simplescreenrecorder-2023-11-29_09.59.07.mp4
Effects on system behavior
Nothing.
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.
After all checkboxes are checked, anyone who has write access can merge the PR.